MultiAgentDecisionProcess  Release 0.2.1
PerseusStationary.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _PERSEUSSTATIONARY_H_
30 #define _PERSEUSSTATIONARY_H_ 1
31 
32 /* the include directives */
33 #include "Globals.h"
34 #include "Perseus.h"
35 
37 class PerseusStationary : public Perseus
38 {
39 private:
40 
41 protected:
42 
47 
50 
53 
54  void InitializeBeliefs(int nrB, bool uniquify);
55 
56  std::vector<double> GetImmediateRewardBeliefSet() const;
57 
58 public:
59  // Constructor, destructor and copy assignment.
63  virtual ~PerseusStationary();
64 
66  void SetBeliefSet(const BeliefSet &S);
67 
69  void ExportBeliefSet(const std::string &filename) const;
70 
72  void SetValueFunction(const std::string &filename);
73 
75  { return(_m_valueFunction); }
76 
78  { return(_m_qFunction); }
79 
80  double GetQ(const JointBeliefInterface &b, Index jaI) const;
81 
82  double GetQ(const JointBeliefInterface &b, Index jaI, int &betaMaxI) const;
83 
84  double GetQ(const JointBeliefInterface &b, Index t, Index jaI) const;
85  double GetQ(const JointBeliefInterface &b, Index t, Index jaI,
86  int &betaMaxI) const;
87 
88  void ExportValueFunction(const std::string &filename) const;
89 
90 };
91 
92 
93 
94 #endif /* !_PERSEUSSTATIONARY_H_ */
95 
96 // Local Variables: ***
97 // mode:c++ ***
98 // End: ***