Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ModelCheckerHelper.h
Go to the documentation of this file.
1#pragma once
2
3#include <boost/optional.hpp>
4#include <type_traits>
5
8
10
11namespace storm {
12namespace modelchecker {
13namespace helper {
14
20template<typename VT, storm::models::ModelRepresentation ModelRepresentation>
22 public:
23 typedef VT ValueType;
24
25 ModelCheckerHelper() = default;
26 virtual ~ModelCheckerHelper() = default;
27
31 using StateSet = typename std::conditional<ModelRepresentation == storm::models::ModelRepresentation::Sparse, storm::storage::BitVector,
33
39 void setRelevantStates(StateSet const& relevantStates);
40
46
52 bool hasRelevantStates() const;
53
59 boost::optional<StateSet> const& getOptionalRelevantStates() const;
60
68 StateSet const& getRelevantStates() const;
69
70 private:
71 boost::optional<StateSet> _relevantStates;
72};
73} // namespace helper
74} // namespace modelchecker
75} // namespace storm
Helper class for solving a model checking query.
void clearRelevantStates()
Clears the relevant states.
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.
A bit vector that is internally represented as a vector of 64-bit values.
Definition BitVector.h:18
LabParser.cpp.
Definition cli.cpp:18