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