Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ChoiceSelector.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
storm/models/sparse/NondeterministicModel.h
"
4
#include "
storm/models/sparse/StandardRewardModel.h
"
5
6
namespace
storm
{
7
namespace
transformer {
8
9
template
<
typename
ValueType,
typename
RewardModelType = storm::models::sparse::StandardRewardModel<ValueType>>
10
class
ChoiceSelector
{
11
public
:
12
ChoiceSelector
(
storm::models::sparse::NondeterministicModel<ValueType, RewardModelType>
const
& inputModel) : inputModel(inputModel) {}
13
20
std::shared_ptr<storm::models::sparse::NondeterministicModel<ValueType, RewardModelType>>
transform
(
storm::storage::BitVector
const
& enabledActions)
const
;
21
22
private
:
23
storm::models::sparse::NondeterministicModel<ValueType, RewardModelType>
const
& inputModel;
24
};
25
26
}
// namespace transformer
27
}
// namespace storm
storm::models::sparse::NondeterministicModel
The base class of sparse nondeterministic models.
Definition
NondeterministicModel.h:22
storm::storage::BitVector
A bit vector that is internally represented as a vector of 64-bit values.
Definition
BitVector.h:18
storm::transformer::ChoiceSelector
Definition
ChoiceSelector.h:10
storm::transformer::ChoiceSelector::ChoiceSelector
ChoiceSelector(storm::models::sparse::NondeterministicModel< ValueType, RewardModelType > const &inputModel)
Definition
ChoiceSelector.h:12
storm::transformer::ChoiceSelector::transform
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 gi...
Definition
ChoiceSelector.cpp:14
storm
LabParser.cpp.
Definition
cli.cpp:18
NondeterministicModel.h
StandardRewardModel.h
src
storm
transformer
ChoiceSelector.h
Generated by
1.9.8