Browse Source

(stateformula) StateFormula: a StateFormula is a probabilistic path formula

tempestpy_adaptions
Joachim Klein 4 years ago
committed by Stefan Pranger
parent
commit
af10aa8b4b
  1. 7
      src/storm/logic/StateFormula.cpp
  2. 3
      src/storm/logic/StateFormula.h

7
src/storm/logic/StateFormula.cpp

@ -5,5 +5,12 @@ namespace storm {
bool StateFormula::isStateFormula() const { bool StateFormula::isStateFormula() const {
return true; return true;
} }
bool StateFormula::isProbabilityPathFormula() const {
// a single state formula can be seen as a path formula as well
return true;
}
} }
} }

3
src/storm/logic/StateFormula.h

@ -12,6 +12,9 @@ namespace storm {
}; };
virtual bool isStateFormula() const override; virtual bool isStateFormula() const override;
virtual bool isProbabilityPathFormula() const override;
}; };
} }
} }

Loading…
Cancel
Save