MultiAgentDecisionProcess  Release 0.2.1
JointActionObservationHistory.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _JOINTACTIONOBSERVATIONHISTORY_H_
30 #define _JOINTACTIONOBSERVATIONHISTORY_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
35 #include "Referrer.h"
36 #include "JointHistory.h"
37 
38 //forward declation:
40 
42 class JointActionObservationHistory : public Referrer<PlanningUnitMADPDiscrete>,
43  public JointHistory
44 {
45  private:
46 
51 
56 
61 
63  std::vector<Index> &jaIs, std::vector<Index> &joIs);
64 
65  protected:
66 
67  public:
68  // Constructor, destructor and copy assignment.
77 
78  //operators:
79 
80  //data manipulation (set) functions:
81 
82 
83  //get (data) functions:
86  const
88 
89  //other
91  std::string SoftPrint() const;
93  std::string SoftPrintJointIndices() const;
95  void Print() const {std::cout << SoftPrint(); }
96 
100  std::vector<Index> &jaIs, std::vector<Index> &joIs);
101 
104  {return _m_jaI;}
107  {return _m_joI;}
108 
111  { return new JointActionObservationHistory(*this); }
112 
113 
114 };
115 
116 
117 #endif /* !_JOINTACTIONOBSERVATIONHISTORY_H_ */
118 
119 // Local Variables: ***
120 // mode:c++ ***
121 // End: ***