Browse Source

(stateformula) SymbolicQualitativeCheckResult: add getReachableStates() and getStates() accessors, like SymbolicQuantitativeCheckResult

tempestpy_adaptions
Joachim Klein 4 years ago
committed by Stefan Pranger
parent
commit
27ca10a668
  1. 10
      src/storm/modelchecker/results/SymbolicQualitativeCheckResult.cpp
  2. 2
      src/storm/modelchecker/results/SymbolicQualitativeCheckResult.h

10
src/storm/modelchecker/results/SymbolicQualitativeCheckResult.cpp

@ -61,6 +61,16 @@ namespace storm {
return this->truthValues; return this->truthValues;
} }
template<storm::dd::DdType Type>
storm::dd::Bdd<Type> const& SymbolicQualitativeCheckResult<Type>::getStates() const {
return states;
}
template<storm::dd::DdType Type>
storm::dd::Bdd<Type> const& SymbolicQualitativeCheckResult<Type>::getReachableStates() const {
return reachableStates;
}
template <storm::dd::DdType Type> template <storm::dd::DdType Type>
bool SymbolicQualitativeCheckResult<Type>::existsTrue() const { bool SymbolicQualitativeCheckResult<Type>::existsTrue() const {
return !this->truthValues.isZero(); return !this->truthValues.isZero();

2
src/storm/modelchecker/results/SymbolicQualitativeCheckResult.h

@ -40,6 +40,8 @@ namespace storm {
storm::dd::Bdd<Type> const& getTruthValuesVector() const; storm::dd::Bdd<Type> const& getTruthValuesVector() const;
storm::dd::Bdd<Type> const& getStates() const;
storm::dd::Bdd<Type> const& getReachableStates() const;
virtual std::ostream& writeToStream(std::ostream& out) const override; virtual std::ostream& writeToStream(std::ostream& out) const override;

Loading…
Cancel
Save