MultiAgentDecisionProcess  Release 0.2.1
JointBeliefSparse.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _JOINTBELIEFSPARSE_H_
30 #define _JOINTBELIEFSPARSE_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
35 #include "JointBeliefInterface.h"
36 #include "BeliefSparse.h"
37 
38 class MultiAgentDecisionProcessDiscreteInterface; //forward declaration to avoid including each other
39 
42  public BeliefSparse
43 {
44 private:
45 
48  Index lastJAI, Index newJOI);
49 
50 protected:
51 
52 public:
53  // Constructor, destructor and copy assignment.
56 
58  JointBeliefSparse(size_t size);
59 
61  JointBeliefSparse(const std::vector<double> &belief);
62 
65  JointBeliefSparse(const StateDistribution& belief);
66 
69 
70  // operators:
71  using BeliefSparse::operator=;
74 
76  Index lastJAI, Index newJOI);
78  virtual JointBeliefSparse* Clone() const
79  { return new JointBeliefSparse(*this); }
80 
81 };
82 
83 
84 #endif /* !_JOINTBELIEFSPARSE_H_ */
85 
86 // Local Variables: ***
87 // mode:c++ ***
88 // End: ***