Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ApplyFiniteSchedulerToPomdp.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <map>
4
#include <string>
5
#include "
storm/models/sparse/Dtmc.h
"
6
#include "
storm/models/sparse/Pomdp.h
"
7
8
namespace
storm
{
9
namespace
transformer {
10
11
enum class
PomdpFscApplicationMode
{
STANDARD
,
SIMPLE_LINEAR
,
SIMPLE_LINEAR_INVERSE
,
SIMPLE_LOG
,
FULL
};
12
13
PomdpFscApplicationMode
parsePomdpFscApplicationMode
(std::string
const
& mode);
14
15
template
<
typename
ValueType>
16
class
ApplyFiniteSchedulerToPomdp
{
17
public
:
18
ApplyFiniteSchedulerToPomdp
(
storm::models::sparse::Pomdp<ValueType>
const
& pomdp) : pomdp(pomdp) {}
19
20
std::shared_ptr<storm::models::sparse::Model<storm::RationalFunction>>
transform
(
21
PomdpFscApplicationMode
applicationMode =
PomdpFscApplicationMode::SIMPLE_LINEAR
)
const
;
22
23
private
:
24
std::unordered_map<uint32_t, std::vector<storm::RationalFunction>> getObservationChoiceWeights(
PomdpFscApplicationMode
applicationMode)
const
;
25
26
storm::models::sparse::Pomdp<ValueType>
const
& pomdp;
27
};
28
}
// namespace transformer
29
}
// namespace storm
Pomdp.h
storm::models::sparse::Pomdp
This class represents a partially observable Markov decision process.
Definition
Pomdp.h:15
storm::transformer::ApplyFiniteSchedulerToPomdp
Definition
ApplyFiniteSchedulerToPomdp.h:16
storm::transformer::ApplyFiniteSchedulerToPomdp::transform
std::shared_ptr< storm::models::sparse::Model< storm::RationalFunction > > transform(PomdpFscApplicationMode applicationMode=PomdpFscApplicationMode::SIMPLE_LINEAR) const
Definition
ApplyFiniteSchedulerToPomdp.cpp:85
storm::transformer::ApplyFiniteSchedulerToPomdp::ApplyFiniteSchedulerToPomdp
ApplyFiniteSchedulerToPomdp(storm::models::sparse::Pomdp< ValueType > const &pomdp)
Definition
ApplyFiniteSchedulerToPomdp.h:18
storm::transformer::parsePomdpFscApplicationMode
PomdpFscApplicationMode parsePomdpFscApplicationMode(std::string const &mode)
Definition
ApplyFiniteSchedulerToPomdp.cpp:10
storm::transformer::PomdpFscApplicationMode
PomdpFscApplicationMode
Definition
ApplyFiniteSchedulerToPomdp.h:11
storm::transformer::PomdpFscApplicationMode::SIMPLE_LINEAR
@ SIMPLE_LINEAR
storm::transformer::PomdpFscApplicationMode::SIMPLE_LINEAR_INVERSE
@ SIMPLE_LINEAR_INVERSE
storm::transformer::PomdpFscApplicationMode::SIMPLE_LOG
@ SIMPLE_LOG
storm::transformer::PomdpFscApplicationMode::STANDARD
@ STANDARD
storm::transformer::PomdpFscApplicationMode::FULL
@ FULL
storm
LabParser.cpp.
Definition
cli.cpp:18
Dtmc.h
src
storm-pomdp
transformer
ApplyFiniteSchedulerToPomdp.h
Generated by
1.9.8