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
3
#include "
storm/models/sparse/NondeterministicModel.h
"
4
5
namespace
storm
{
6
namespace
models {
7
namespace
sparse {
8
12
template
<
class
ValueType,
typename
RewardModelType = StandardRewardModel<ValueType>>
13
class
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>(),
24
ModelType
type =
ModelType::Mdp
);
25
33
Mdp
(
storm::storage::SparseMatrix<ValueType>
&& transitionMatrix,
storm::models::sparse::StateLabeling
&& stateLabeling,
34
std::unordered_map<std::string, RewardModelType>&& rewardModels = std::unordered_map<std::string, RewardModelType>(),
ModelType
type =
ModelType::Mdp
);
35
41
Mdp
(
storm::storage::sparse::ModelComponents<ValueType, RewardModelType>
const
& components,
ModelType
type =
ModelType::Mdp
);
42
Mdp
(
storm::storage::sparse::ModelComponents<ValueType, RewardModelType>
&& components,
ModelType
type =
ModelType::Mdp
);
43
44
Mdp
(
Mdp<ValueType, RewardModelType>
const
& other) =
default
;
45
Mdp
&
operator=
(
Mdp<ValueType, RewardModelType>
const
& other) =
default
;
46
47
Mdp
(
Mdp<ValueType, RewardModelType>
&& other) =
default
;
48
Mdp
&
operator=
(
Mdp<ValueType, RewardModelType>
&& other) =
default
;
49
50
virtual
~Mdp
() =
default
;
51
};
52
53
}
// namespace sparse
54
}
// namespace models
55
}
// namespace storm
storm::models::sparse::Mdp
This class represents a (discrete-time) Markov decision process.
Definition
Mdp.h:13
storm::models::sparse::Mdp::operator=
Mdp & operator=(Mdp< ValueType, RewardModelType > &&other)=default
storm::models::sparse::Mdp::Mdp
Mdp(Mdp< ValueType, RewardModelType > &&other)=default
storm::models::sparse::Mdp::operator=
Mdp & operator=(Mdp< ValueType, RewardModelType > const &other)=default
storm::models::sparse::Mdp::Mdp
Mdp(Mdp< ValueType, RewardModelType > const &other)=default
storm::models::sparse::Mdp::~Mdp
virtual ~Mdp()=default
storm::models::sparse::NondeterministicModel
The base class of sparse nondeterministic models.
Definition
NondeterministicModel.h:21
storm::models::sparse::StateLabeling
This class manages the labeling of the state space with a number of (atomic) labels.
Definition
StateLabeling.h:16
storm::storage::SparseMatrix
A class that holds a possibly non-square matrix in the compressed row storage format.
Definition
SparseMatrix.h:328
storm::models::ModelType
ModelType
Definition
ModelType.h:8
storm::models::ModelType::Mdp
@ Mdp
storm
Definition
AutomaticSettings.cpp:13
NondeterministicModel.h
storm::storage::sparse::ModelComponents
Definition
ModelComponents.h:27
src
storm
models
sparse
Mdp.h
Generated by
1.9.8