Browse Source

making inheritance of Parsers public (for AutoParser)

tempestpy_adaptions
gereon 12 years ago
parent
commit
0f8c598529
  1. 5
      src/parser/DeterministicSparseTransitionParser.h
  2. 2
      src/parser/NonDeterministicSparseTransitionParser.h

5
src/parser/DeterministicSparseTransitionParser.h

@ -14,11 +14,8 @@ namespace parser {
/*! /*!
* @brief Load a deterministic transition system from file and create a * @brief Load a deterministic transition system from file and create a
* sparse adjacency matrix whose entries represent the weights of the edges * sparse adjacency matrix whose entries represent the weights of the edges
*
* Note that this class creates a new StaticSparseMatrix object that can be
* accessed via getMatrix(). However, it does not delete this object!
*/ */
class DeterministicSparseTransitionParser : Parser {
class DeterministicSparseTransitionParser : public Parser {
public: public:
DeterministicSparseTransitionParser(std::string const &filename); DeterministicSparseTransitionParser(std::string const &filename);

2
src/parser/NonDeterministicSparseTransitionParser.h

@ -16,7 +16,7 @@ namespace parser {
* @brief Load a nondeterministic transition system from file and create a * @brief Load a nondeterministic transition system from file and create a
* sparse adjacency matrix whose entries represent the weights of the edges * sparse adjacency matrix whose entries represent the weights of the edges
*/ */
class NonDeterministicSparseTransitionParser : Parser {
class NonDeterministicSparseTransitionParser : public Parser {
public: public:
NonDeterministicSparseTransitionParser(std::string const &filename); NonDeterministicSparseTransitionParser(std::string const &filename);

Loading…
Cancel
Save