Infinite state-space truncator which generates a probability within a window
Public Member Functions | Public Attributes | List of all members
stamina::StaminaModelBuilder< ValueType, RewardModelType, StateType >::ProbabilityState Class Reference

Public Member Functions

 ProbabilityState (CompressedState state, StateType index, double pi=0.0, bool terminal=true, uint8_t iterationLastSeen=0)
 ProbabilityState (const ProbabilityState &other)
double getPi ()
void addToPi (double add)
void setPi (double pi)
bool isTerminal ()
void setTerminal (bool term)
bool operator== (const ProbabilityState &rhs) const
bool operator>= (const ProbabilityState &rhs) const
bool operator<= (const ProbabilityState &rhs) const
bool operator> (const ProbabilityState &rhs) const
bool operator< (const ProbabilityState &rhs) const

Public Attributes

CompressedState state
StateType index
bool enqueued
uint8_t iterationLastSeen
double pi
bool terminal

The documentation for this class was generated from the following file: