MultiAgentDecisionProcess  Release 0.2.1
BayesianGame.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _BAYESIANGAME_H_
30 #define _BAYESIANGAME_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include <vector>
35 #include "Globals.h"
36 #include "RewardModelMapping.h"
37 #include "BayesianGameBase.h"
38 
39 
40 
51 {
52  private:
57 
61  std::vector<RewardModelMapping> _m_utilFuncs;
62 
63  protected:
64 
65  public:
66  // Constructor, destructor and copy assignment.
67  // (default) Constructor
68  //BayesianGame();
69  BayesianGame(size_t nrAgents, const std::vector<size_t> &nrActions,
70  const std::vector<size_t> &nrTypes);
72  BayesianGame(const BayesianGame& a);
73 
74  //data manipulation (set) functions:
75 
80  bool SetInitialized(bool b);
81 
83  void SetUtility(const Index agent, const Index jtype, const Index ja,
84  const double u )
85  {_m_utilFuncs[agent].Set(jtype,ja,u);}
86 
88  void Print() const;
89 };
90 
91 
92 #endif /* !_BAYESIANGAME_H_ */
93 
94 // Local Variables: ***
95 // mode:c++ ***
96 // End: ***