7namespace modelchecker {
10template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
12 _relevantStates = relevantStates;
15template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
17 _relevantStates = boost::none;
20template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
22 return _relevantStates.is_initialized();
25template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
26boost::optional<typename ModelCheckerHelper<ValueType, ModelRepresentation>::StateSet>
const&
28 return _relevantStates;
31template<
typename ValueType, storm::models::ModelRepresentation ModelRepresentation>
33 STORM_LOG_ASSERT(hasRelevantStates(),
"Retrieving relevant states although none have been set.");
34 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)