Browse Source

SymbolicModel: getDeadlockStates

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

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

@ -72,6 +72,11 @@ namespace storm {
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>
storm::dd::Bdd<Type> Model<Type, ValueType>::getStates(std::string const& label) const {
STORM_LOG_THROW(labelToExpressionMap.find(label) != labelToExpressionMap.end(), storm::exceptions::IllegalArgumentException, "The label " << label << " is invalid for the labeling of the model.");

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

@ -131,6 +131,11 @@ namespace storm {
*/
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.
*

Loading…
Cancel
Save