Storm
A Modern Probabilistic Model Checker
|
#include <LocalMonotonicityResult.h>
Public Types | |
typedef MonotonicityResult< VariableType >::Monotonicity | Monotonicity |
Public Member Functions | |
LocalMonotonicityResult (uint_fast64_t numberOfStates) | |
Constructs a new LocalMonotonicityResult object. | |
LocalMonotonicityResult (std::shared_ptr< MonotonicityResult< VariableType > > globalResult, uint_fast64_t numberOfStates) | |
Monotonicity | getMonotonicity (uint_fast64_t state, VariableType var) const |
Returns the local Monotonicity of a parameter at a given state. | |
std::shared_ptr< MonotonicityResult< VariableType > > | getMonotonicity (uint_fast64_t state) const |
void | setMonotonicity (uint_fast64_t state, VariableType var, Monotonicity mon) |
Sets the local Monotonicity of a parameter at a given state. | |
std::shared_ptr< MonotonicityResult< VariableType > > | getGlobalMonotonicityResult () const |
Returns the Global MonotonicityResult object that corresponds to this object. | |
std::shared_ptr< LocalMonotonicityResult< VariableType > > | copy () |
Constructs a new LocalMonotonicityResult object that is a copy of the current one. | |
bool | isDone () const |
Checks if the LocalMonotonicity is done yet. | |
void | setDone (bool done=true) |
bool | isNoMonotonicity () const |
void | setConstant (uint_fast64_t state) |
void | setIndexMinimize (int index) |
void | setIndexMaximize (int index) |
int | getIndexMinimize () const |
int | getIndexMaximize () const |
std::string | toString () const |
Constructs a string output of all variables and their corresponding Monotonicity. | |
void | setMonotoneIncreasing (VariableType var) |
void | setMonotoneDecreasing (VariableType var) |
bool | isFixedParametersSet () const |
Definition at line 12 of file LocalMonotonicityResult.h.
typedef MonotonicityResult<VariableType>::Monotonicity storm::analysis::LocalMonotonicityResult< VariableType >::Monotonicity |
Definition at line 14 of file LocalMonotonicityResult.h.
storm::analysis::LocalMonotonicityResult< VariableType >::LocalMonotonicityResult | ( | uint_fast64_t | numberOfStates | ) |
Constructs a new LocalMonotonicityResult object.
numberOfStates | The number of states in the considered model. |
Definition at line 7 of file LocalMonotonicityResult.cpp.
storm::analysis::LocalMonotonicityResult< VariableType >::LocalMonotonicityResult | ( | std::shared_ptr< MonotonicityResult< VariableType > > | globalResult, |
uint_fast64_t | numberOfStates | ||
) |
Definition at line 16 of file LocalMonotonicityResult.cpp.
std::shared_ptr< LocalMonotonicityResult< VariableType > > storm::analysis::LocalMonotonicityResult< VariableType >::copy | ( | ) |
Constructs a new LocalMonotonicityResult object that is a copy of the current one.
Definition at line 69 of file LocalMonotonicityResult.cpp.
std::shared_ptr< MonotonicityResult< VariableType > > storm::analysis::LocalMonotonicityResult< VariableType >::getGlobalMonotonicityResult | ( | ) | const |
Returns the Global MonotonicityResult object that corresponds to this object.
Definition at line 41 of file LocalMonotonicityResult.cpp.
int storm::analysis::LocalMonotonicityResult< VariableType >::getIndexMaximize | ( | ) | const |
Definition at line 103 of file LocalMonotonicityResult.cpp.
int storm::analysis::LocalMonotonicityResult< VariableType >::getIndexMinimize | ( | ) | const |
Definition at line 98 of file LocalMonotonicityResult.cpp.
std::shared_ptr< MonotonicityResult< VariableType > > storm::analysis::LocalMonotonicityResult< VariableType >::getMonotonicity | ( | uint_fast64_t | state | ) | const |
Definition at line 179 of file LocalMonotonicityResult.cpp.
LocalMonotonicityResult< VariableType >::Monotonicity storm::analysis::LocalMonotonicityResult< VariableType >::getMonotonicity | ( | uint_fast64_t | state, |
VariableType | var | ||
) | const |
Returns the local Monotonicity of a parameter at a given state.
state | The state. |
var | The parameter. |
Definition at line 25 of file LocalMonotonicityResult.cpp.
bool storm::analysis::LocalMonotonicityResult< VariableType >::isDone | ( | ) | const |
Checks if the LocalMonotonicity is done yet.
Definition at line 82 of file LocalMonotonicityResult.cpp.
bool storm::analysis::LocalMonotonicityResult< VariableType >::isFixedParametersSet | ( | ) | const |
Definition at line 168 of file LocalMonotonicityResult.cpp.
bool storm::analysis::LocalMonotonicityResult< VariableType >::isNoMonotonicity | ( | ) | const |
Definition at line 108 of file LocalMonotonicityResult.cpp.
void storm::analysis::LocalMonotonicityResult< VariableType >::setConstant | ( | uint_fast64_t | state | ) |
Definition at line 128 of file LocalMonotonicityResult.cpp.
void storm::analysis::LocalMonotonicityResult< VariableType >::setDone | ( | bool | done = true | ) |
Definition at line 173 of file LocalMonotonicityResult.cpp.
void storm::analysis::LocalMonotonicityResult< VariableType >::setIndexMaximize | ( | int | index | ) |
Definition at line 93 of file LocalMonotonicityResult.cpp.
void storm::analysis::LocalMonotonicityResult< VariableType >::setIndexMinimize | ( | int | index | ) |
Definition at line 87 of file LocalMonotonicityResult.cpp.
void storm::analysis::LocalMonotonicityResult< VariableType >::setMonotoneDecreasing | ( | VariableType | var | ) |
Definition at line 143 of file LocalMonotonicityResult.cpp.
void storm::analysis::LocalMonotonicityResult< VariableType >::setMonotoneIncreasing | ( | VariableType | var | ) |
Definition at line 136 of file LocalMonotonicityResult.cpp.
void storm::analysis::LocalMonotonicityResult< VariableType >::setMonotonicity | ( | uint_fast64_t | state, |
VariableType | var, | ||
Monotonicity | mon | ||
) |
Sets the local Monotonicity of a parameter at a given state.
mon | The Monotonicity. |
state | The state. |
var | The parameter. |
Definition at line 46 of file LocalMonotonicityResult.cpp.
std::string storm::analysis::LocalMonotonicityResult< VariableType >::toString | ( | ) | const |
Constructs a string output of all variables and their corresponding Monotonicity.
Definition at line 150 of file LocalMonotonicityResult.cpp.