MultiAgentDecisionProcess  Release 0.2.1
POSGDiscreteInterface.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _POSGDISCRETEINTERFACE_H_
30 #define _POSGDISCRETEINTERFACE_H_ 1
31 
32 /* the include directives */
33 #include <vector>
34 #include <string>
35 #include "Globals.h"
37 #include "POSGInterface.h"
38 
51  virtual public POSGInterface
52 {
53  private:
54 
55  protected:
56 
57  public:
59  virtual ~POSGDiscreteInterface() {};
60 
62  virtual void CreateNewRewardModelForAgent(
63  Index agentI) = 0;
65  virtual void SetRewardForAgent(Index agentI, Index sI, Index jaI,
66  double r) = 0;
67 
69  virtual void SetRewardForAgent(Index agentI, Index sI, Index jaI,
70  Index sucSI, double r) = 0;
71 
73  virtual void SetRewardForAgent(Index agentI, Index sI, Index jaI,
74  Index sucSI, Index joI, double r) = 0;
75 
76  // 'get' functions:
78  virtual double GetRewardForAgent(Index agentI, Index sI, Index jaI)
79  const = 0;
81  virtual POSGDiscreteInterface* Clone() const = 0;
82 
83 };
84 
85 #endif /* !_POSGDISCRETEINTERFACE_H_ */
86 
87 
88 // Local Variables: ***
89 // mode:c++ ***
90 // End: ***