MultiAgentDecisionProcess  Release 0.2.1
POSGInterface.h
Go to the documentation of this file.
1 
28 #ifndef _POSGINTERFACE_H_
29 #define _POSGINTERFACE_H_ 1
30 
31 /* the include directives */
32 
33 #include <iostream>
34 #include "Globals.h"
36 class State;
37 class JointAction;
38 
39 
40 
48 {
49  private:
50 
51  protected:
52 
53  public:
54 
56  virtual ~POSGInterface() {};
57 
59  virtual void SetDiscountForAgent(Index agentI, double d) = 0;
60 
62  virtual double GetDiscountForAgent(Index agentI) const = 0;
63 
65  virtual void SetRewardTypeForAgent(Index agentI, reward_t r) = 0;
66 
68  virtual reward_t GetRewardTypeForAgent(Index agentI) const = 0;
69 
71 
72  virtual void SetRewardForAgent(Index agentI, State* s, JointAction* ja,
73  double r) = 0;
75 
76  virtual double GetRewardForAgent(Index agentI, State* s,
77  JointAction* ja) const = 0;
78 
80  virtual POSGInterface* Clone() const = 0;
81 };
82 
83 #endif
84 
85 // Local Variables: ***
86 // mode:c++ ***
87 // End: ***