MultiAgentDecisionProcess  Release 0.2.1
PolicyDiscretePure.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _POLICYDISCRETEPURE_H_
30 #define _POLICYDISCRETEPURE_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
36 #include "PolicyDiscrete.h"
37 
45 {
46  private:
47 
48  protected:
49 
50  public:
51  // Constructor, destructor and copy assignment.
56  Index agentI
57  );
62  {}
63 
64  //operators:
65 
66  //data manipulation (set) functions:
67 
69  //virtual void RandomInitialization() = 0;
71  virtual void RandomInitialization(Index agentI) = 0;
72 
73  //get (data) functions:
74 
78  {
82  dynamic_cast<const Interface_ProblemToPolicyDiscretePure*>(p);
83  return pp;
84  }
85 
88  virtual Index GetActionIndex(Index i) const = 0;
89 
95  double GetActionProb( Index i, Index aI ) const;
97  virtual PolicyDiscretePure* Clone() const = 0;
98 
99 };
100 
101 
102 #endif /* !_POLICYDISCRETEPURE_H_ */
103 
104 // Local Variables: ***
105 // mode:c++ ***
106 // End: ***