MultiAgentDecisionProcess  Release 0.2.1
JointActionObservationHistoryTree.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _JOINTACTIONOBSERVATIONHISTORYTREE_H_
30 #define _JOINTACTIONOBSERVATIONHISTORYTREE_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
35 #include "TreeNode.h"
37 
38 
39 
65 class JointActionObservationHistoryTree : public TreeNode <JointActionObservationHistory>
66 {
67  private:
68  enum aoh_t {A_SUC, O_SUC};
69 
71 
72  protected:
73 
74  public:
75  // Constructor, destructor and copy assignment.
79  _m_nodeType(nt){};
80 
83  aoh, aoh_t nt = A_SUC);
84 
85  //operators:
86 
87  //data manipulation (set) functions:
89  void SetIndex(Index i);
91 
92  void SetSuccessor(Index jaI, Index joI,
94 
95 
96  //get (data) functions:
98  size_t GetLength() const
99  {return(GetContainedElement()->GetLength());}
108 
109  void Print() const;
110 };
111 
112 
113 #endif /* !_JOINTACTIONOBSERVATIONHISTORYTREE_H_ */
114 
115 // Local Variables: ***
116 // mode:c++ ***
117 // End: ***