Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
Mdp.h
Go to the documentation of this file.
1#ifndef STORM_MODELS_SYMBOLIC_MDP_H_
2#define STORM_MODELS_SYMBOLIC_MDP_H_
3
6
7namespace storm {
8namespace models {
9namespace symbolic {
10
14template<storm::dd::DdType Type, typename ValueType = double>
15class Mdp : public NondeterministicModel<Type, ValueType> {
16 public:
18
19 Mdp(Mdp<Type, ValueType> const& other) = default;
20 Mdp& operator=(Mdp<Type, ValueType> const& other) = default;
21
22#ifndef WINDOWS
23 Mdp(Mdp<Type, ValueType>&& other) = default;
24 Mdp& operator=(Mdp<Type, ValueType>&& other) = default;
25#endif
26
45 Mdp(std::shared_ptr<storm::dd::DdManager<Type>> manager, storm::dd::Bdd<Type> reachableStates, storm::dd::Bdd<Type> initialStates,
46 storm::dd::Bdd<Type> deadlockStates, storm::dd::Add<Type, ValueType> transitionMatrix, std::set<storm::expressions::Variable> const& rowVariables,
47 std::shared_ptr<storm::adapters::AddExpressionAdapter<Type, ValueType>> rowExpressionAdapter,
48 std::set<storm::expressions::Variable> const& columnVariables,
49 std::vector<std::pair<storm::expressions::Variable, storm::expressions::Variable>> const& rowColumnMetaVariablePairs,
50 std::set<storm::expressions::Variable> const& nondeterminismVariables,
51 std::map<std::string, storm::expressions::Expression> labelToExpressionMap = std::map<std::string, storm::expressions::Expression>(),
52 std::unordered_map<std::string, RewardModelType> const& rewardModels = std::unordered_map<std::string, RewardModelType>());
53
70 Mdp(std::shared_ptr<storm::dd::DdManager<Type>> manager, storm::dd::Bdd<Type> reachableStates, storm::dd::Bdd<Type> initialStates,
71 storm::dd::Bdd<Type> deadlockStates, storm::dd::Add<Type, ValueType> transitionMatrix, std::set<storm::expressions::Variable> const& rowVariables,
72 std::set<storm::expressions::Variable> const& columnVariables,
73 std::vector<std::pair<storm::expressions::Variable, storm::expressions::Variable>> const& rowColumnMetaVariablePairs,
74 std::set<storm::expressions::Variable> const& nondeterminismVariables,
75 std::map<std::string, storm::dd::Bdd<Type>> labelToBddMap = std::map<std::string, storm::dd::Bdd<Type>>(),
76 std::unordered_map<std::string, RewardModelType> const& rewardModels = std::unordered_map<std::string, RewardModelType>());
77
78 template<typename NewValueType>
79 std::shared_ptr<Mdp<Type, NewValueType>> toValueType() const;
80};
81
82} // namespace symbolic
83} // namespace models
84} // namespace storm
85
86#endif /* STORM_MODELS_SYMBOLIC_MDP_H_ */
This class represents a discrete-time Markov decision process.
Definition Mdp.h:15
Mdp & operator=(Mdp< Type, ValueType > &&other)=default
NondeterministicModel< Type, ValueType >::RewardModelType RewardModelType
Definition Mdp.h:17
Mdp(Mdp< Type, ValueType > const &other)=default
Mdp & operator=(Mdp< Type, ValueType > const &other)=default
Mdp(Mdp< Type, ValueType > &&other)=default
std::shared_ptr< Mdp< Type, NewValueType > > toValueType() const
Definition Mdp.cpp:45
storm::dd::Add< Type, ValueType > transitionMatrix
Definition Model.h:409
Base class for all nondeterministic symbolic models.
LabParser.cpp.
Definition cli.cpp:18