Browse Source

SymbolicModel: getDeadlockStates

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
598dd85972
  1. 5
      src/storm/models/symbolic/Model.cpp
  2. 7
      src/storm/models/symbolic/Model.h

5
src/storm/models/symbolic/Model.cpp

@ -71,6 +71,11 @@ namespace storm {
storm::dd::Bdd<Type> const& Model<Type, ValueType>::getInitialStates() const { storm::dd::Bdd<Type> const& Model<Type, ValueType>::getInitialStates() const {
return initialStates; return initialStates;
} }
template<storm::dd::DdType Type, typename ValueType>
storm::dd::Bdd<Type> const& Model<Type, ValueType>::getDeadlockStates() const {
return deadlockStates;
}
template<storm::dd::DdType Type, typename ValueType> template<storm::dd::DdType Type, typename ValueType>
storm::dd::Bdd<Type> Model<Type, ValueType>::getStates(std::string const& label) const { storm::dd::Bdd<Type> Model<Type, ValueType>::getStates(std::string const& label) const {

7
src/storm/models/symbolic/Model.h

@ -130,7 +130,12 @@ namespace storm {
* @return The initial states of the model. * @return The initial states of the model.
*/ */
storm::dd::Bdd<Type> const& getInitialStates() const; storm::dd::Bdd<Type> const& getInitialStates() const;
/*
* Retrieves the deadlock states of the model.
*/
storm::dd::Bdd<Type> const& getDeadlockStates() const;
/*! /*!
* Returns the sets of states labeled with the given label. * Returns the sets of states labeled with the given label.
* *

Loading…
Cancel
Save