MultiAgentDecisionProcess  Release 0.2.1
QBG.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _QBG_H_
30 #define _QBG_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
35 #include "QFunctionJAOHTree.h"
36 
37 class JointBelief;
38 
44 class QBG : public QFunctionJAOHTree
45 {
46 private:
47 
49 #if QFunctionJAOH_useIndices
50  double ComputeRecursively(size_t time_step,
51  LIndex joahI,
52  Index lastJAI);
53 #else
54  double ComputeRecursively(size_t time_step,
56  Index lastJAI);
57 #endif
58 
59 protected:
60 
61  public:
62  // Constructor, destructor and copy assignment.
65 
67  ~QBG();
68 
69  //operators:
70 
71  //data manipulation (set) functions:
72 
75  void ComputeNoCache();
77  double ComputeRecursivelyNoCache(size_t time_step, Index jahI,
78  Index johI, const JointBelief &JB,
79  Index lastJAI);
80 
81 };
82 
83 
84 #endif /* !_QBG_H_ */
85 
86 // Local Variables: ***
87 // mode:c++ ***
88 // End: ***