MultiAgentDecisionProcess
Release 0.2.1
|
BeliefIteratorInterface is an interface for iterators over beliefs. More...
#include <BeliefIteratorInterface.h>
Public Member Functions | |
BeliefIteratorInterface () | |
(default) Constructor | |
virtual BeliefIteratorInterface * | Clone () const =0 |
Returns a pointer to a copy of this class. | |
virtual double | GetProbability () const =0 |
Gets the probability at the current state. | |
virtual Index | GetStateIndex () const =0 |
Gets the index of the current state. | |
virtual bool | Next ()=0 |
Advance the iterator. Returns false if at the end. | |
virtual | ~BeliefIteratorInterface () |
Destructor. |
BeliefIteratorInterface is an interface for iterators over beliefs.
Definition at line 37 of file BeliefIteratorInterface.h.
|
inline |
(default) Constructor
Definition at line 46 of file BeliefIteratorInterface.h.
|
inlinevirtual |
Destructor.
Definition at line 49 of file BeliefIteratorInterface.h.
|
pure virtual |
Returns a pointer to a copy of this class.
Implemented in BeliefIteratorSparse, and BeliefIterator.
|
pure virtual |
Gets the probability at the current state.
Implemented in BeliefIteratorSparse, and BeliefIterator.
Referenced by BeliefIteratorGeneric::GetProbability().
|
pure virtual |
Gets the index of the current state.
Implemented in BeliefIteratorSparse, and BeliefIterator.
Referenced by BeliefIteratorGeneric::GetStateIndex().
|
pure virtual |
Advance the iterator. Returns false if at the end.
Implemented in BeliefIteratorSparse, and BeliefIterator.
Referenced by BeliefIteratorGeneric::Next().