MultiAgentDecisionProcess  Release 0.2.1
BayesianGameIdenticalPayoffInterface.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _BAYESIANGAMEIDENTICALPAYOFFINTERFACE_H_
30 #define _BAYESIANGAMEIDENTICALPAYOFFINTERFACE_H_ 1
31 
32 /* the include directives */
33 #include "Globals.h"
34 #include "BayesianGameBase.h"
35 
39  : public BayesianGameBase
40 
41 {
42  private:
43 
44  protected:
45 
46  public:
47  // Constructor, destructor and copy assignment.
50  {};
52  size_t nrAgents,
53  const std::vector<size_t>& nrActions,
54  const std::vector<size_t>& nrTypes)
55  :
56  BayesianGameBase(nrAgents, nrActions, nrTypes)
57  {};
58 
59  //get (data) functions:
61  virtual double GetUtility(const Index jtype, const Index ja) const = 0;
65  virtual double GetUtility(const std::vector<Index>& indTypeIndices,
66  const std::vector<Index>& indActionIndices ) const = 0;
67 
70  virtual std::string SoftPrint() const = 0;
72  virtual void Print() const
73  { std::cout << SoftPrint();}
74 
75 };
76 
77 
78 #endif /* !_BAYESIANGAMEIDENTICALPAYOFFINTERFACE_H_ */
79 
80 // Local Variables: ***
81 // mode:c++ ***
82 // End: ***