MultiAgentDecisionProcess  Release 0.2.1
ActionObservationHistory.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _ACTIONOBSERVATIONHISTORY_H_
30 #define _ACTIONOBSERVATIONHISTORY_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
35 #include "Referrer.h"
36 #include "IndividualHistory.h"
37 
38 //forward declation:
40 
41 
42 
44 class ActionObservationHistory : public Referrer<PlanningUnitMADPDiscrete>,
45  public IndividualHistory
46 {
47  private:
48 
53 
58 
59  protected:
60 
61  public:
62  // Constructor, destructor and copy assignment.
70 
71  //operators:
72 
73  //data manipulation (set) functions:
76  {_m_ahI = ahI;}
79  {_m_ohI = ohI;}
80 
81  //get (data) functions:
82 
85  {return _m_ahI;}
88  {return _m_ohI;}
89  //other
92  { return new ActionObservationHistory(*this); }
93 
94  std::string SoftPrint() const;
95  void Print() const { std::cout << SoftPrint();};
96 
97 };
98 
99 
100 #endif /* !_ACTIONOBSERVATIONHISTORY_H_ */
101 
102 // Local Variables: ***
103 // mode:c++ ***
104 // End: ***