|
Storm 1.14.0.1
A Modern Probabilistic Model Checker
|
#include <GoalStateMerger.h>
Classes | |
| struct | ReturnType |
Public Member Functions | |
| GoalStateMerger (storm::models::sparse::Model< ValueType > const &model) | |
| ReturnType | mergeTargetAndSinkStates (storm::storage::BitVector const &maybeStates, storm::storage::BitVector const &targetStates, storm::storage::BitVector const &sinkStates, std::vector< std::string > const &selectedRewardModels=std::vector< std::string >(), std::optional< storm::storage::BitVector > const &choiceFilter=std::nullopt, std::optional< uint64_t > representativeTargetState=std::nullopt, std::optional< uint64_t > representativeSinkState=std::nullopt) const |
| Computes a submodel of the specified model that only considers the states given by maybeStates as well as. | |
| std::optional< ReturnType > | mergeForFormula (storm::logic::Formula const &formula, bool const dropUnreachableFromInit) const |
| Identifies the maybeStates, targetStates, sinkStates (and, if applicable, the reward model and choice filter) that correspond to the given formula and invokes mergeTargetAndSinkStates accordingly. | |
Definition at line 29 of file GoalStateMerger.h.
| storm::transformer::GoalStateMerger< ValueType >::GoalStateMerger | ( | storm::models::sparse::Model< ValueType > const & | model | ) |
| storm::exceptions::NotSupportedException | if the given model is not supported by this transformer. |
Definition at line 69 of file GoalStateMerger.cpp.
| std::optional< typename GoalStateMerger< ValueType >::ReturnType > storm::transformer::GoalStateMerger< ValueType >::mergeForFormula | ( | storm::logic::Formula const & | formula, |
| bool const | dropUnreachableFromInit ) const |
Identifies the maybeStates, targetStates, sinkStates (and, if applicable, the reward model and choice filter) that correspond to the given formula and invokes mergeTargetAndSinkStates accordingly.
| dropUnreachableFromInit | if true, maybeStates that are not reachable from the initial states (without hopping over a target/sink state) are dropped. If false, this reachability analysis is skipped, i.e., the result is as if every state of the input model was an initial state. |
Definition at line 143 of file GoalStateMerger.cpp.
| GoalStateMerger< ValueType >::ReturnType storm::transformer::GoalStateMerger< ValueType >::mergeTargetAndSinkStates | ( | storm::storage::BitVector const & | maybeStates, |
| storm::storage::BitVector const & | targetStates, | ||
| storm::storage::BitVector const & | sinkStates, | ||
| std::vector< std::string > const & | selectedRewardModels = std::vector<std::string>(), | ||
| std::optional< storm::storage::BitVector > const & | choiceFilter = std::nullopt, | ||
| std::optional< uint64_t > | representativeTargetState = std::nullopt, | ||
| std::optional< uint64_t > | representativeSinkState = std::nullopt ) const |
Computes a submodel of the specified model that only considers the states given by maybeStates as well as.
If a choiceFilter is given, choices on maybestates that are not selected by the filter will be removed.
Notes:
Definition at line 76 of file GoalStateMerger.cpp.