Storm 1.13.0.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:
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
Mdp(storm::storage::SparseMatrix< ValueType > const &transitionMatrix, storm::models::sparse::StateLabeling const &stateLabeling, std::unordered_map< std::string, RewardModelType > const &rewardModels=std::unordered_map< std::string, RewardModelType >(), ModelType type=ModelType::Mdp)
Constructs a model from the given data.
Definition Mdp.cpp:14
Mdp(storm::storage::sparse::ModelComponents< ValueType, RewardModelType > &&components, ModelType type=ModelType::Mdp)
Definition Mdp.cpp:38
Mdp & operator=(Mdp< ValueType, RewardModelType > &&other)=default
Mdp(storm::storage::SparseMatrix< ValueType > &&transitionMatrix, storm::models::sparse::StateLabeling &&stateLabeling, std::unordered_map< std::string, RewardModelType > &&rewardModels=std::unordered_map< std::string, RewardModelType >(), ModelType type=ModelType::Mdp)
Constructs a model by moving the given data.
Definition Mdp.cpp:22
Mdp(Mdp< ValueType, RewardModelType > &&other)=default
Mdp & operator=(Mdp< ValueType, RewardModelType > const &other)=default
Mdp(storm::storage::sparse::ModelComponents< ValueType, RewardModelType > const &components, ModelType type=ModelType::Mdp)
Constructs a model from the given data.
Definition Mdp.cpp:31
Mdp(Mdp< ValueType, RewardModelType > const &other)=default
virtual ~Mdp()=default
NondeterministicModel(ModelType modelType, storm::storage::sparse::ModelComponents< ValueType, RewardModelType > const &components)
Constructs a model from the given data.
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.