MultiAgentDecisionProcess  Release 0.2.1
JointObservationHistory.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _JOINTOBSERVATIONHISTORY_H_
30 #define _JOINTOBSERVATIONHISTORY_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include <vector>
35 #include "Globals.h"
36 #include "E.h"
37 #include "Referrer.h"
38 #include "JointHistory.h"
39 
40 class PlanningUnitMADPDiscrete; //forward declaration to avoid including each other
41 
43 
47 class JointObservationHistory : public Referrer<PlanningUnitMADPDiscrete>,
48  public JointHistory
49 {
50  private:
51 
68 
69  protected:
70 
71  public:
72  // Constructor, destructor and copy assignment.
84 
85  //operators:
86 
87  //data manipulation (set) functions:
88 
89  //get (data) functions:
91  const std::vector<Index>& GetIndividualObservationHistoryIndices() const;
94  {return(_m_jointObservationI);}
95 
96 
97  //other
99  virtual JointObservationHistory* Clone() const
100  { return new JointObservationHistory(*this); }
101 
103  std::string SoftPrint() const;
105  void Print() const {std::cout << SoftPrint(); }
106 
107 };
108 
109 
110 #endif /* !_OBSERVATIONHISTORY_H_ */
111 
112 
113 // Local Variables: ***
114 // mode:c++ ***
115 // End: ***