Storm
A Modern Probabilistic Model Checker
|
#include <ChoiceSelector.h>
Public Member Functions | |
ChoiceSelector (storm::models::sparse::NondeterministicModel< ValueType, RewardModelType > const &inputModel) | |
std::shared_ptr< storm::models::sparse::NondeterministicModel< ValueType, RewardModelType > > | transform (storm::storage::BitVector const &enabledActions) const |
Constructs an MDP by copying the current MDP and restricting the choices of each state to the ones given by the bitvector. | |
Definition at line 10 of file ChoiceSelector.h.
|
inline |
Definition at line 12 of file ChoiceSelector.h.
std::shared_ptr< storm::models::sparse::NondeterministicModel< ValueType, RewardModelType > > storm::transformer::ChoiceSelector< ValueType, RewardModelType >::transform | ( | storm::storage::BitVector const & | enabledActions | ) | const |
Constructs an MDP by copying the current MDP and restricting the choices of each state to the ones given by the bitvector.
enabledActions | A BitVector of lenght numberOfChoices(), which is one iff the action should be kept. |
Definition at line 14 of file ChoiceSelector.cpp.