#ifndef STORM_PARSER_NONDETTRAPARSER_H_ #define STORM_PARSER_NONDETTRAPARSER_H_ #include "src/storage/SparseMatrix.h" #include "src/parser/Parser.h" #include "src/utility/OsDetection.h" #include #include #include #include namespace storm { namespace parser { /*! * @brief Load a nondeterministic transition system from file and create a * sparse adjacency matrix whose entries represent the weights of the edges */ class NonDeterministicSparseTransitionParser : public Parser { public: NonDeterministicSparseTransitionParser(std::string const &filename); inline std::shared_ptr> getMatrix() const { return this->matrix; } typedef boost::bimap> RowMapping; inline std::shared_ptr getRowMapping() const { return this->rowMapping; } private: std::shared_ptr> matrix; std::shared_ptr rowMapping; uint_fast64_t firstPass(char* buf, uint_fast64_t& choices, int_fast64_t& maxnode); }; } // namespace parser } // namespace storm #endif /* STORM_PARSER_NONDETTRAPARSER_H_ */