MultiAgentDecisionProcess  Release 0.2.1
AgentBG.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _AGENTBG_H_
30 #define _AGENTBG_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
35 #include "JointBeliefSparse.h"
37 #include "QAV.h"
38 
39 class PerseusBGPlanner;
43 
46 {
47 private:
48 
50 
51  size_t _m_t;
52 
54 
56 
58 
59  std::vector<Index> _m_oIs,_m_prevJoIs,_m_prevJaIs,_m_aIs;
60 
62 
63  int GetMaximizingBGIndex(const JointBeliefInterface &jb) const;
65 
66 public:
67 
68  // Constructor, destructor and copy assignment.
72 
74  AgentBG(const AgentBG& a);
75 
77  ~AgentBG();
78 
79  Index Act(Index oI, Index prevJoI);
80 
81  void ResetEpisode();
82 
83 };
84 
85 
86 #endif /* !_AGENTBG_H_ */
87 
88 // Local Variables: ***
89 // mode:c++ ***
90 // End: ***