Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
BinaryPomdpTransformer.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace storm {
7namespace transformer {
8
9template<typename ValueType>
11 std::shared_ptr<storm::models::sparse::Pomdp<ValueType>> transformedPomdp;
13};
14
15template<typename ValueType>
17 public:
19
21 bool keepStateValuations = false) const;
22
23 private:
24 struct TransformationData {
26 std::vector<uint32_t> simpleObservations;
27 std::vector<uint64_t> originalToSimpleChoiceMap;
28 std::vector<uint64_t> simpleStateToOriginalState;
29 };
30
31 TransformationData transformTransitions(storm::models::sparse::Pomdp<ValueType> const& pomdp, bool transformSimple) const;
32 storm::models::sparse::StateLabeling transformStateLabeling(storm::models::sparse::Pomdp<ValueType> const& pomdp, TransformationData const& data) const;
35 TransformationData const& data) const;
36 storm::models::sparse::ChoiceLabeling transformChoiceLabeling(storm::models::sparse::Pomdp<ValueType> const& pomdp, TransformationData const& data) const;
37};
38} // namespace transformer
39} // namespace storm
This class manages the labeling of the choice space with a number of (atomic) labels.
This class represents a partially observable Markov decision process.
Definition Pomdp.h:15
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.
PomdpTransformationResult< ValueType > transform(storm::models::sparse::Pomdp< ValueType > const &pomdp, bool transformSimple, bool keepStateValuations=false) const
LabParser.cpp.
Definition cli.cpp:18
std::shared_ptr< storm::models::sparse::Pomdp< ValueType > > transformedPomdp