9namespace modelchecker {
12template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
14 _relevantStates = relevantStates;
17template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
19 _relevantStates = boost::none;
22template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
24 return _relevantStates.is_initialized();
27template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
28boost::optional<typename ModelCheckerHelper<ValueType, ModelRepresentation>::StateSet>
const&
30 return _relevantStates;
33template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
35 STORM_LOG_ASSERT(hasRelevantStates(),
"Retrieving relevant states although none have been set.");
36 return _relevantStates.get();
Helper class for solving a model checking query.
void clearRelevantStates()
Clears the relevant states.
StateSet const & getRelevantStates() const
bool hasRelevantStates() const
boost::optional< StateSet > const & getOptionalRelevantStates() const
typename std::conditional< ModelRepresentation==storm::models::ModelRepresentation::Sparse, storm::storage::BitVector, storm::dd::Bdd< storm::models::GetDdType< ModelRepresentation >::ddType > >::type StateSet
Identifies a subset of the model states.
void setRelevantStates(StateSet const &relevantStates)
Sets relevant states.
#define STORM_LOG_ASSERT(cond, message)