MultiAgentDecisionProcess  Release 0.2.1
DecPOMDP.h
Go to the documentation of this file.
1 
28 #ifndef _DECPOMDP_H_
29 #define _DECPOMDP_H_ 1
30 
31 /* the include directives */
32 
33 #include <iostream>
34 #include "Globals.h"
35 #include "DecPOMDPInterface.h"
36 
37 
46 class DecPOMDP :
47  virtual public DecPOMDPInterface
48 {
49  private:
50 
52 
56  double _m_discount;
59  protected:
60 
61  public:
62 
63  // constructors etc.
65  DecPOMDP();
66 
68  void SetDiscount(double d);
70  double GetDiscount() const {return _m_discount;}
72 
73  void SetRewardType(reward_t r);
76 
78  std::string SoftPrint() const;
79 
81  void SetDiscountForAgent(Index agentI, double d)
82  {SetDiscount(d);}
83 
85  double GetDiscountForAgent(Index agentI) const
86  {return GetDiscount();}
87 
90  {SetRewardType(r);}
91 
94  {return GetRewardType();}
95 
96 
97 };
98 
99 #endif
100 
101 // Local Variables: ***
102 // mode:c++ ***
103 // End: ***