#ifndef READTRAFILE_H_ #define READTRAFILE_H_ #include "src/storage/SquareSparseMatrix.h" #include "src/parser/parser.h" #include namespace mrmc { namespace parser { /*! * @brief Load transition system from file and return initialized * StaticSparseMatrix object. * * Note that this class creates a new StaticSparseMatrix object that can be * accessed via getMatrix(). However, it does not delete this object! */ class TraParser : Parser { public: TraParser(const char* filename); std::shared_ptr> getMatrix() { return this->matrix; } private: std::shared_ptr> matrix; uint_fast64_t firstPass(char* buf, uint_fast64_t &maxnode); }; } // namespace parser } // namespace mrmc #endif /* READTRAFILE_H_ */