MultiAgentDecisionProcess  Release 0.2.1
PlanningUnitTOIDecPOMDPDiscrete.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _PLANNINGUNITTOIDECPOMDPDISCRETE_H_
30 #define _PLANNINGUNITTOIDECPOMDPDISCRETE_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
35 #include "Referrer.h"
37 #include "TOIDecPOMDPDiscrete.h"
38 
40 
44  public Referrer<TOIDecPOMDPDiscrete>,
46 {
47 private:
48 
49  bool SanityCheck() const;
50 
51 protected:
52 
53 public:
54  // Constructor, destructor and copy assignment.
58  size_t horizon=3,
60  );
61 
63  size_t horizon=3,
65  );
66 
67  //operators:
68 
69  //data manipulation (set) functions:
70 
76 
77  //get (data) functions:
78 
80 
85 
88  const std::vector<Index>& JointToIndividualStateIndices(Index jointSI) const
89  { return(GetReferred()->JointToIndividualStateIndices(jointSI)); }
90 
92  Index IndividualToJointStateIndices(const std::vector<Index>&
93  indivStateIndices) const
94  { return(GetReferred()->IndividualToJointStateIndices(indivStateIndices)); }
95 
96  std::vector<Index> SampleSuccessorState(const std::vector<Index> &sIs,
97  const std::vector<Index> &aIs)
98  const
99  { return(GetReferred()->SampleSuccessorState(sIs,aIs)); }
100 
101  std::vector<Index> SampleJointObservation(const std::vector<Index> &aIs,
102  const std::vector<Index> &sucIs)
103  const
104  { return(GetReferred()->SampleJointObservation(aIs,sucIs)); }
105 
106  std::vector<Index> SampleInitialStates(void) const
107  { return(GetReferred()->SampleInitialStates()); }
108 
109 };
110 
111 
112 #endif /* !_PLANNINGUNITTOIDECPOMDPDISCRETE_H_ */
113 
114 // Local Variables: ***
115 // mode:c++ ***
116 // End: ***