Storm 1.11.1.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
Mdp.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace storm {
6namespace models {
7namespace symbolic {
8
12template<storm::dd::DdType Type, typename ValueType = double>
13class Mdp : public NondeterministicModel<Type, ValueType> {
14 public:
16
17 Mdp(Mdp<Type, ValueType> const& other) = default;
18 Mdp& operator=(Mdp<Type, ValueType> const& other) = default;
19
20 Mdp(Mdp<Type, ValueType>&& other) = default;
21 Mdp& operator=(Mdp<Type, ValueType>&& other) = default;
22
41 Mdp(std::shared_ptr<storm::dd::DdManager<Type>> manager, storm::dd::Bdd<Type> reachableStates, storm::dd::Bdd<Type> initialStates,
42 storm::dd::Bdd<Type> deadlockStates, storm::dd::Add<Type, ValueType> transitionMatrix, std::set<storm::expressions::Variable> const& rowVariables,
43 std::shared_ptr<storm::adapters::AddExpressionAdapter<Type, ValueType>> rowExpressionAdapter,
44 std::set<storm::expressions::Variable> const& columnVariables,
45 std::vector<std::pair<storm::expressions::Variable, storm::expressions::Variable>> const& rowColumnMetaVariablePairs,
46 std::set<storm::expressions::Variable> const& nondeterminismVariables,
47 std::map<std::string, storm::expressions::Expression> labelToExpressionMap = std::map<std::string, storm::expressions::Expression>(),
48 std::unordered_map<std::string, RewardModelType> const& rewardModels = std::unordered_map<std::string, RewardModelType>());
49
66 Mdp(std::shared_ptr<storm::dd::DdManager<Type>> manager, storm::dd::Bdd<Type> reachableStates, storm::dd::Bdd<Type> initialStates,
67 storm::dd::Bdd<Type> deadlockStates, storm::dd::Add<Type, ValueType> transitionMatrix, std::set<storm::expressions::Variable> const& rowVariables,
68 std::set<storm::expressions::Variable> const& columnVariables,
69 std::vector<std::pair<storm::expressions::Variable, storm::expressions::Variable>> const& rowColumnMetaVariablePairs,
70 std::set<storm::expressions::Variable> const& nondeterminismVariables,
71 std::map<std::string, storm::dd::Bdd<Type>> labelToBddMap = std::map<std::string, storm::dd::Bdd<Type>>(),
72 std::unordered_map<std::string, RewardModelType> const& rewardModels = std::unordered_map<std::string, RewardModelType>());
73
74 template<typename NewValueType>
75 std::shared_ptr<Mdp<Type, NewValueType>> toValueType() const;
76};
77
78} // namespace symbolic
79} // namespace models
80} // namespace storm
This class represents a discrete-time Markov decision process.
Definition Mdp.h:13
Mdp & operator=(Mdp< Type, ValueType > &&other)=default
NondeterministicModel< Type, ValueType >::RewardModelType RewardModelType
Definition Mdp.h:15
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:43
storm::dd::Add< Type, ValueType > transitionMatrix
Definition Model.h:400
Base class for all nondeterministic symbolic models.