Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
RefinementCommand.cpp
Go to the documentation of this file.
2
3namespace storm::gbar {
4namespace abstraction {
5
6RefinementCommand::RefinementCommand(uint64_t referencedPlayer1Choice, std::vector<storm::expressions::Expression> const& predicates)
7 : referencedPlayer1Choice(referencedPlayer1Choice), predicates(predicates) {
8 // Intentionally left empty.
9}
10
11RefinementCommand::RefinementCommand(std::vector<storm::expressions::Expression> const& predicates) : predicates(predicates) {
12 // Intentionally left empty.
13}
14
16 return static_cast<bool>(referencedPlayer1Choice);
17}
18
20 return referencedPlayer1Choice.get();
21}
22
23std::vector<storm::expressions::Expression> const& RefinementCommand::getPredicates() const {
24 return predicates;
25}
26
27} // namespace abstraction
28} // namespace storm::gbar
RefinementCommand(uint64_t referencedPlayer1Choice, std::vector< storm::expressions::Expression > const &predicates)
Creates a new refinement command for the given player 1 choice.
std::vector< storm::expressions::Expression > const & getPredicates() const
bool refersToPlayer1Choice() const
Access to the details of this refinement commands.