MultiAgentDecisionProcess  Release 0.2.1
DecPOMDPInterface.h
Go to the documentation of this file.
1 
28 #ifndef _DECPOMDPINTERFACE_H_
29 #define _DECPOMDPINTERFACE_H_ 1
30 
31 /* the include directives */
32 
33 #include <iostream>
34 #include "Globals.h"
35 #include "POSGInterface.h"
36 class State;
37 class JointAction;
38 
39 
40 
41 
48 class DecPOMDPInterface : public virtual POSGInterface
49 {
50  private:
51 
52  protected:
53 
54  public:
55  /*using POSGInterface::SetDiscount;
56  using POSGInterface::GetDiscount;
57  using POSGInterface::GetRewardType;
58  using POSGInterface::SetRewardType;
59  using POSGInterface::GetReward;
60  using POSGInterface::SetReward;*/
61 
63  virtual ~DecPOMDPInterface() {};
64 
66  virtual void SetDiscount(double d) = 0;
67 
69  virtual double GetDiscount() const = 0;
70 
72  virtual void SetRewardType(reward_t r) = 0;
73 
75  virtual reward_t GetRewardType() const = 0;
76 
78 
79  virtual double GetReward(State* s, JointAction* ja) const = 0;
80 
82 
83  virtual void SetReward(State* s, JointAction* ja, double r) = 0;
84 
86  virtual DecPOMDPInterface* Clone() const = 0;
87 };
88 
89 #endif
90 
91 // Local Variables: ***
92 // mode:c++ ***
93 // End: ***