MultiAgentDecisionProcess
BeliefIteratorInterface Class Referenceabstract

BeliefIteratorInterface is an interface for iterators over beliefs. More...

#include <BeliefIteratorInterface.h>

Inheritance diagram for BeliefIteratorInterface:
[legend]

Public Member Functions

 BeliefIteratorInterface ()
 (default) Constructor More...
 
virtual BeliefIteratorInterfaceClone () const =0
 Returns a pointer to a copy of this class. More...
 
virtual double GetProbability () const =0
 Gets the probability at the current state. More...
 
virtual Index GetStateIndex () const =0
 Gets the index of the current state. More...
 
virtual bool Next ()=0
 Advance the iterator. Returns false if at the end. More...
 
virtual ~BeliefIteratorInterface ()
 Destructor. More...
 

Detailed Description

BeliefIteratorInterface is an interface for iterators over beliefs.

Constructor & Destructor Documentation

BeliefIteratorInterface::BeliefIteratorInterface ( )
inline

(default) Constructor

virtual BeliefIteratorInterface::~BeliefIteratorInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual BeliefIteratorInterface* BeliefIteratorInterface::Clone ( ) const
pure virtual

Returns a pointer to a copy of this class.

Implemented in BeliefIteratorSparse, and BeliefIterator.

virtual double BeliefIteratorInterface::GetProbability ( ) const
pure virtual

Gets the probability at the current state.

Implemented in BeliefIteratorSparse, and BeliefIterator.

Referenced by BeliefIteratorGeneric::GetProbability().

virtual Index BeliefIteratorInterface::GetStateIndex ( ) const
pure virtual

Gets the index of the current state.

Implemented in BeliefIteratorSparse, and BeliefIterator.

Referenced by BeliefIteratorGeneric::GetStateIndex().

virtual bool BeliefIteratorInterface::Next ( )
pure virtual

Advance the iterator. Returns false if at the end.

Implemented in BeliefIteratorSparse, and BeliefIterator.

Referenced by BeliefIteratorGeneric::Next().