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 sparse {
8
12template<class ValueType, typename RewardModelType = StandardRewardModel<ValueType>>
13class Mdp : public NondeterministicModel<ValueType, RewardModelType> {
14 public:
22 Mdp(storm::storage::SparseMatrix<ValueType> const& transitionMatrix, storm::models::sparse::StateLabeling const& stateLabeling,
23 std::unordered_map<std::string, RewardModelType> const& rewardModels = std::unordered_map<std::string, RewardModelType>(),
25
34 std::unordered_map<std::string, RewardModelType>&& rewardModels = std::unordered_map<std::string, RewardModelType>(), ModelType type = ModelType::Mdp);
35
43
44 Mdp(Mdp<ValueType, RewardModelType> const& other) = default;
46
49
50 virtual ~Mdp() = default;
51};
52
53} // namespace sparse
54} // namespace models
55} // namespace storm
This class represents a (discrete-time) Markov decision process.
Definition Mdp.h:13
Mdp & operator=(Mdp< ValueType, RewardModelType > &&other)=default
Mdp(Mdp< ValueType, RewardModelType > &&other)=default
Mdp & operator=(Mdp< ValueType, RewardModelType > const &other)=default
Mdp(Mdp< ValueType, RewardModelType > const &other)=default
virtual ~Mdp()=default
The base class of sparse nondeterministic models.
This class manages the labeling of the state space with a number of (atomic) labels.
A class that holds a possibly non-square matrix in the compressed row storage format.