Storm
A Modern Probabilistic Model Checker
|
#include <CheckTask.h>
Public Member Functions | |
CheckTask (FormulaType const &formula, bool onlyInitialStatesRelevant=false) | |
Creates a task object with the default options for the given formula. | |
template<typename NewFormulaType > | |
CheckTask< NewFormulaType, ValueType > | substituteFormula (NewFormulaType const &newFormula) const |
Copies the check task from the source while replacing the formula with the new one. | |
void | updateOperatorInformation () |
If the currently specified formula is an OperatorFormula, this method updates the information that is given in the Operator formula. | |
CheckTask | negate () const |
Negate the optimization direction and the bound threshold, if those exist. | |
template<typename NewValueType > | |
CheckTask< FormulaType, NewValueType > | convertValueType () const |
Copies the check task from the source while replacing the considered ValueType the new one. | |
FormulaType const & | getFormula () const |
Retrieves the formula from this task. | |
bool | isOptimizationDirectionSet () const |
Retrieves whether an optimization direction was set. | |
storm::OptimizationDirection const & | getOptimizationDirection () const |
Retrieves the optimization direction (if set). | |
void | setOptimizationDirection (storm::OptimizationDirection const &dir) |
Sets the optimization direction. | |
bool | isPlayerCoalitionSet () const |
Retrieves whether a player coalition was set. | |
storm::logic::PlayerCoalition const & | getPlayerCoalition () const |
Retrieves the player coalition (if set). | |
CheckTask< FormulaType, ValueType > & | setPlayerCoalition (storm::logic::PlayerCoalition const &coalition) |
Sets the player coalition. | |
bool | isRewardModelSet () const |
Retrieves whether a reward model was set. | |
std::string const & | getRewardModel () const |
Retrieves the reward model over which to perform the checking (if set). | |
bool | isOnlyInitialStatesRelevantSet () const |
Retrieves whether only the initial states are relevant in the computation. | |
CheckTask< FormulaType, ValueType > & | setOnlyInitialStatesRelevant (bool value=true) |
Sets whether only initial states are relevant. | |
bool | isBoundSet () const |
Retrieves whether there is a bound with which the values for the states will be compared. | |
ValueType | getBoundThreshold () const |
Retrieves the value of the bound (if set). | |
storm::logic::ComparisonType const & | getBoundComparisonType () const |
Retrieves the comparison type of the bound (if set). | |
storm::logic::Bound const & | getBound () const |
Retrieves the bound (if set). | |
boost::optional< storm::logic::Bound > const & | getOptionalBound () const |
Retrieves the bound. | |
bool | isQualitativeSet () const |
Retrieves whether the computation only needs to be performed qualitatively, because the values will only be compared to 0/1. | |
void | setQualitative (bool value) |
sets whether the computation only needs to be performed qualitatively, because the values will only be compared to 0/1. | |
void | setProduceSchedulers (bool produceSchedulers=true) |
Sets whether to produce schedulers (if supported). | |
bool | isProduceSchedulersSet () const |
Retrieves whether scheduler(s) are to be produced (if supported). | |
void | setHint (std::shared_ptr< ModelCheckerHint > const &hint) |
sets a hint that might contain information that speeds up the modelchecking process (if supported by the model checker) | |
ModelCheckerHint const & | getHint () const |
Retrieves a hint that might contain information that speeds up the modelchecking process (if supported by the model checker) | |
ModelCheckerHint & | getHint () |
operator CheckTask< storm::logic::Formula, ValueType > () const | |
Conversion operator that strips the type of the formula. | |
bool | getRobustUncertainty () const |
void | setRobustUncertainty (bool robust=true) |
Friends | |
template<typename OtherFormulaType , typename OtherValueType > | |
class | CheckTask |
Definition at line 30 of file CheckTask.h.
|
inline |
Creates a task object with the default options for the given formula.
Definition at line 38 of file CheckTask.h.
|
inline |
Copies the check task from the source while replacing the considered ValueType the new one.
In particular, this changes the formula type of the check task object.
Definition at line 131 of file CheckTask.h.
|
inline |
Retrieves the bound (if set).
Definition at line 242 of file CheckTask.h.
|
inline |
Retrieves the comparison type of the bound (if set).
Definition at line 235 of file CheckTask.h.
|
inline |
Retrieves the value of the bound (if set).
Definition at line 226 of file CheckTask.h.
|
inline |
Retrieves the formula from this task.
Definition at line 140 of file CheckTask.h.
|
inline |
Definition at line 297 of file CheckTask.h.
|
inline |
Retrieves a hint that might contain information that speeds up the modelchecking process (if supported by the model checker)
Definition at line 293 of file CheckTask.h.
|
inline |
Retrieves the optimization direction (if set).
Definition at line 154 of file CheckTask.h.
|
inline |
Retrieves the bound.
Definition at line 249 of file CheckTask.h.
|
inline |
Retrieves the player coalition (if set).
Definition at line 175 of file CheckTask.h.
|
inline |
Retrieves the reward model over which to perform the checking (if set).
Definition at line 197 of file CheckTask.h.
|
inline |
Definition at line 308 of file CheckTask.h.
|
inline |
Retrieves whether there is a bound with which the values for the states will be compared.
Definition at line 219 of file CheckTask.h.
|
inline |
Retrieves whether only the initial states are relevant in the computation.
Definition at line 204 of file CheckTask.h.
|
inline |
Retrieves whether an optimization direction was set.
Definition at line 147 of file CheckTask.h.
|
inline |
Retrieves whether a player coalition was set.
Definition at line 168 of file CheckTask.h.
|
inline |
Retrieves whether scheduler(s) are to be produced (if supported).
Definition at line 279 of file CheckTask.h.
|
inline |
Retrieves whether the computation only needs to be performed qualitatively, because the values will only be compared to 0/1.
Definition at line 257 of file CheckTask.h.
|
inline |
Retrieves whether a reward model was set.
Definition at line 190 of file CheckTask.h.
|
inline |
Negate the optimization direction and the bound threshold, if those exist.
Suitable for switching from Pmin[phi] to 1-Pmax[!psi] computations.
Definition at line 110 of file CheckTask.h.
|
inline |
Conversion operator that strips the type of the formula.
Definition at line 304 of file CheckTask.h.
|
inline |
sets a hint that might contain information that speeds up the modelchecking process (if supported by the model checker)
Definition at line 286 of file CheckTask.h.
|
inline |
Sets whether only initial states are relevant.
Definition at line 211 of file CheckTask.h.
|
inline |
Sets the optimization direction.
Definition at line 161 of file CheckTask.h.
|
inline |
Sets the player coalition.
Definition at line 182 of file CheckTask.h.
|
inline |
Sets whether to produce schedulers (if supported).
Definition at line 272 of file CheckTask.h.
|
inline |
sets whether the computation only needs to be performed qualitatively, because the values will only be compared to 0/1.
Definition at line 265 of file CheckTask.h.
|
inline |
Definition at line 312 of file CheckTask.h.
|
inline |
Copies the check task from the source while replacing the formula with the new one.
In particular, this changes the formula type of the check task object.
Definition at line 52 of file CheckTask.h.
|
inline |
If the currently specified formula is an OperatorFormula, this method updates the information that is given in the Operator formula.
Calling this method has no effect if the provided formula is not an operator formula.
Definition at line 64 of file CheckTask.h.
|
friend |
Definition at line 33 of file CheckTask.h.