Storm
A Modern Probabilistic Model Checker
|
This tracker implements state estimation for POMDPs. More...
#include <NondeterministicBeliefTracker.h>
Classes | |
struct | Options |
Public Member Functions | |
NondeterministicBeliefTracker (storm::models::sparse::Pomdp< ValueType > const &pomdp, typename NondeterministicBeliefTracker< ValueType, BeliefState >::Options options=Options()) | |
bool | reset (uint32_t observation) |
Start with a new trace. | |
bool | track (uint64_t newObservation) |
Extend the observed trace with the new observation. | |
std::unordered_set< BeliefState > const & | getCurrentBeliefs () const |
Provides access to the current beliefs. | |
uint32_t | getCurrentObservation () const |
What was the last obervation that we made? | |
uint64_t | getNumberOfBeliefs () const |
How many beliefs are we currently tracking? | |
ValueType | getCurrentRisk (bool max=true) |
What is the (worst-case/best-case) risk over all beliefs. | |
void | setRisk (std::vector< ValueType > const &risk) |
Sets the state-risk to use for all beliefs. | |
uint64_t | getCurrentDimension () const |
What is the dimension of the current set of beliefs, i.e., what is the number of states we could possibly be in? | |
uint64_t | reduce () |
Apply reductions to the belief state. | |
bool | hasTimedOut () const |
Did we time out during the computation? | |
This tracker implements state estimation for POMDPs.
This corresponds to forward filtering in Junges, Torfah, Seshia.
ValueType | How are probabilities stored |
BeliefState | What format to use for beliefs |
Definition at line 133 of file NondeterministicBeliefTracker.h.
storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::NondeterministicBeliefTracker | ( | storm::models::sparse::Pomdp< ValueType > const & | pomdp, |
typename NondeterministicBeliefTracker< ValueType, BeliefState >::Options | options = Options() |
||
) |
Definition at line 377 of file NondeterministicBeliefTracker.cpp.
std::unordered_set< BeliefState > const & storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::getCurrentBeliefs | ( | ) | const |
Provides access to the current beliefs.
Definition at line 438 of file NondeterministicBeliefTracker.cpp.
uint64_t storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::getCurrentDimension | ( | ) | const |
What is the dimension of the current set of beliefs, i.e., what is the number of states we could possibly be in?
Definition at line 453 of file NondeterministicBeliefTracker.cpp.
uint32_t storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::getCurrentObservation | ( | ) | const |
What was the last obervation that we made?
Definition at line 443 of file NondeterministicBeliefTracker.cpp.
ValueType storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::getCurrentRisk | ( | bool | max = true | ) |
What is the (worst-case/best-case) risk over all beliefs.
max | Should we take the max or the min? |
Definition at line 413 of file NondeterministicBeliefTracker.cpp.
uint64_t storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::getNumberOfBeliefs | ( | ) | const |
How many beliefs are we currently tracking?
Definition at line 448 of file NondeterministicBeliefTracker.cpp.
bool storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::hasTimedOut | ( | ) | const |
Did we time out during the computation?
Definition at line 488 of file NondeterministicBeliefTracker.cpp.
uint64_t storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::reduce | ( | ) |
Apply reductions to the belief state.
Definition at line 463 of file NondeterministicBeliefTracker.cpp.
bool storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::reset | ( | uint32_t | observation | ) |
Start with a new trace.
observation | The initial observation to start with. |
Definition at line 384 of file NondeterministicBeliefTracker.cpp.
void storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::setRisk | ( | std::vector< ValueType > const & | risk | ) |
Sets the state-risk to use for all beliefs.
risk |
Definition at line 433 of file NondeterministicBeliefTracker.cpp.
bool storm::generator::NondeterministicBeliefTracker< ValueType, BeliefState >::track | ( | uint64_t | newObservation | ) |
Extend the observed trace with the new observation.
newObservation |
Definition at line 397 of file NondeterministicBeliefTracker.cpp.