MultiAgentDecisionProcess  Release 0.2.1
BeliefIteratorGeneric.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _BELIEFITERATORGENERIC_H_
30 #define _BELIEFITERATORGENERIC_H_ 1
31 
32 /* the include directives */
33 #include "Globals.h"
35 
36 #define USE_BeliefIteratorGeneric 1
37 
41 {
42 private:
43 
45 
46 protected:
47 
48 public:
49  // Constructor, destructor and copy assignment.
52  _m_it(it)
53  {}
54 
57  {
58  delete(_m_it);
59  }
60 
61  double GetProbability() const { return(_m_it->GetProbability()); }
62  Index GetStateIndex() const { return(_m_it->GetStateIndex()); }
63  bool Next() const { return(_m_it->Next()); }
64 
65 };
66 
67 
68 #endif /* !_BELIEFITERATORGENERIC_H_ */
69 
70 // Local Variables: ***
71 // mode:c++ ***
72 // End: ***