|
Storm 1.14.0.1
A Modern Probabilistic Model Checker
|
Represents a belief of a Pomdp, i.e. More...
#include <Belief.h>
Classes | |
| struct | BeliefHash |
Public Types | |
| using | ValueType = ValueTypeArg |
Public Member Functions | |
| Belief ()=delete | |
| Belief (Belief const &other)=default | |
| Belief (Belief &&other)=default | |
| Belief< ValueType > & | operator= (Belief const &other)=delete |
| Belief< ValueType > & | operator= (Belief &&other)=delete |
| std::size_t | size () const |
| BeliefStateType | representativeState () const |
| BeliefObservationType const & | observation () const |
| bool | operator== (Belief const &other) const |
| std::string | toString (bool convertToDouble=true, bool fullPrecision=false) const |
| A (human-readable) string representation of this belief. | |
| template<typename SummandsType> | |
| SummandsType | getWeightedSum (std::vector< SummandsType > const &summands) const |
| template<typename FunctionType> | |
| void | forEach (FunctionType const &f) const |
| template<typename FunctionType> | |
| bool | allOf (FunctionType const &f) const |
| template<typename FunctionType> | |
| void | forEachStateInSupport (FunctionType const &f) const |
| template<typename FunctionType> | |
| void | forEachCombine (Belief< ValueType > const &other, FunctionType const &f, bool considerOnlyThisSupport=false) const |
| Calls the function f for each state in X with the arguments (state, value1, value2), where. | |
Friends | |
| class | BeliefBuilder< Belief< ValueType > > |
Represents a belief of a Pomdp, i.e.
a probability distribution over the states of a POMDP. A belief also knows its observation.
| ValueTypeArg | the type of the values (probabilities) of the belief. |
| using storm::pomdp::beliefs::Belief< ValueTypeArg >::ValueType = ValueTypeArg |
|
delete |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
Calls the function f for each state in X with the arguments (state, value1, value2), where.
|
inline |
|
inline |
| summands | a vector containing a value for each state of the underlying POMDP. |
| BeliefObservationType const & storm::pomdp::beliefs::Belief< ValueType >::observation | ( | ) | const |
Definition at line 30 of file Belief.cpp.
|
delete |
|
delete |
| bool storm::pomdp::beliefs::Belief< ValueType >::operator== | ( | Belief< ValueTypeArg > const & | other | ) | const |
Definition at line 35 of file Belief.cpp.
| BeliefStateType storm::pomdp::beliefs::Belief< ValueType >::representativeState | ( | ) | const |
Definition at line 24 of file Belief.cpp.
| std::size_t storm::pomdp::beliefs::Belief< ValueType >::size | ( | ) | const |
Definition at line 19 of file Belief.cpp.
| std::string storm::pomdp::beliefs::Belief< ValueType >::toString | ( | bool | convertToDouble = true, |
| bool | fullPrecision = false ) const |
A (human-readable) string representation of this belief.
| convertToDouble | if true, numbers are converted to double before printing. If this has ValueType=RationalNumber, the output as double is readable but potentially imprecise |
| fullPrecision | if true, numbers are printed with full precision |
Definition at line 57 of file Belief.cpp.
|
friend |