Storm 2.0.0.3
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
storm::modelchecker::TotalRewardSpecification< ValueType > Struct Template Reference

Specifies a total reward query: The goal is to compute (bounds on) the optimal total reward that is collected until a terminal state is reached. More...

#include <TotalRewardSpecification.h>

Collaboration diagram for storm::modelchecker::TotalRewardSpecification< ValueType >:

Public Attributes

storm::storage::BitVector terminalStates
 Those states that are terminal, i.e., no further reward is collected after reaching them.
std::vector< std::pair< storm::utility::ExtendedValueType< ValueType >, storm::storage::BitVector > > terminalStateValues
 Rewards collected upon entering terminal states (unmentioned terminal states have reward 0).
bool terminalStatesUniversallyAlmostSurelyReached
storm::OptionalRef< std::vector< ValueType > const > actionRewards
 If true, the terminal states are reached almost surely from every state under every scheduler.

Detailed Description

template<typename ValueType>
struct storm::modelchecker::TotalRewardSpecification< ValueType >

Specifies a total reward query: The goal is to compute (bounds on) the optimal total reward that is collected until a terminal state is reached.

The total reward is the sum of the rewards collected upon executing actions and the value of the terminal state that is reached (which can be infinite).

This unified view allows to treat different queries with the same algorithms (e.g. for computing certificates):

  • Reachability probabilities have no action rewards. Terminal states with value one are those from which the target is reached with probability one. The remaining terminal states have value zero and are those from which the target is not reachable.
  • Reachability rewards collect the given action rewards. The target states are terminal states with value zero. The remaining terminal states have value +infinity and are those from which the target is not reached with probability one.

Definition at line 23 of file TotalRewardSpecification.h.

Member Data Documentation

◆ actionRewards

template<typename ValueType>
storm::OptionalRef<std::vector<ValueType> const> storm::modelchecker::TotalRewardSpecification< ValueType >::actionRewards

If true, the terminal states are reached almost surely from every state under every scheduler.

Definition at line 31 of file TotalRewardSpecification.h.

◆ terminalStates

template<typename ValueType>
storm::storage::BitVector storm::modelchecker::TotalRewardSpecification< ValueType >::terminalStates

Those states that are terminal, i.e., no further reward is collected after reaching them.

Definition at line 25 of file TotalRewardSpecification.h.

◆ terminalStatesUniversallyAlmostSurelyReached

template<typename ValueType>
bool storm::modelchecker::TotalRewardSpecification< ValueType >::terminalStatesUniversallyAlmostSurelyReached

Definition at line 29 of file TotalRewardSpecification.h.

◆ terminalStateValues

template<typename ValueType>
std::vector<std::pair<storm::utility::ExtendedValueType<ValueType>, storm::storage::BitVector> > storm::modelchecker::TotalRewardSpecification< ValueType >::terminalStateValues

Rewards collected upon entering terminal states (unmentioned terminal states have reward 0).

The values can be infinite. The occurring state sets must be subsets of terminalStates and pairwise disjoint.

Definition at line 28 of file TotalRewardSpecification.h.


The documentation for this struct was generated from the following file: