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

Public Member Functions

 ProbabilityState (StateType index=0, 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

StateType index
uint8_t iterationLastSeen
bool assignedInRemapping
bool isNew
bool wasPutInTerminalQueue
double pi
bool terminal

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