MultiAgentDecisionProcess
|
BeliefIterator is an iterator for dense beliefs. More...
#include <BeliefIterator.h>
Public Member Functions | |
BeliefIterator (const Belief *b) | |
(default) Constructor More... | |
virtual BeliefIterator * | Clone () const |
Returns a pointer to a copy of this class. More... | |
double | GetProbability () const |
Gets the probability at the current state. More... | |
Index | GetStateIndex () const |
Gets the index of the current state. More... | |
bool | Next () |
Advance the iterator. Returns false if at the end. More... | |
virtual | ~BeliefIterator () |
Destructor. More... | |
Public Member Functions inherited from BeliefIteratorInterface | |
BeliefIteratorInterface () | |
(default) Constructor More... | |
virtual | ~BeliefIteratorInterface () |
Destructor. More... | |
Private Attributes | |
const Belief * | _m_belief |
Index | _m_i |
BeliefIterator is an iterator for dense beliefs.
|
inline |
(default) Constructor
Referenced by Clone().
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Returns a pointer to a copy of this class.
Implements BeliefIteratorInterface.
References BeliefIterator().
|
inlinevirtual |
Gets the probability at the current state.
Implements BeliefIteratorInterface.
References Belief::_m_b.
|
inlinevirtual |
Gets the index of the current state.
Implements BeliefIteratorInterface.
|
inlinevirtual |
Advance the iterator. Returns false if at the end.
Implements BeliefIteratorInterface.
References Belief::_m_b.
|
private |
|
private |