MultiAgentDecisionProcess  Release 0.2.1
QBG Class Reference

QBG is a class that represents the QBG heuristic. More...

#include <QBG.h>

+ Inheritance diagram for QBG:
+ Collaboration diagram for QBG:

Public Member Functions

void ComputeNoCache ()
 Compute the heuristic.
double ComputeRecursivelyNoCache (size_t time_step, Index jahI, Index johI, const JointBelief &JB, Index lastJAI)
 Recursively compute the heuristic.
 QBG (const PlanningUnitDecPOMDPDiscrete &pu)
 (default) Constructor
 ~QBG ()
 Destructor.
- Public Member Functions inherited from QFunctionJAOHTree
void Compute ()
 Compute the heuristic.
double GetQ (Index jaohI, Index jaI) const
 Return the Qvalue for JointActionObservationHistory Index jaohI and JointAction index jaI.
void Load (std::string filename)
 Load the Qvalues from disk from a file named filename.
 QFunctionJAOHTree (const PlanningUnitDecPOMDPDiscrete &pu)
 Default constructor, requires a planning unit.
void Save (std::string filename) const
 Stores the Qvalues to disk in file named filename.
void SetPU (const PlanningUnitDecPOMDPDiscrete &pu)
virtual ~QFunctionJAOHTree ()
 Destructor.
- Public Member Functions inherited from QFunctionJAOH
void ComputeWithCachedQValues ()
 Destructor.
 QFunctionJAOH (const PlanningUnitDecPOMDPDiscrete &pu)
 Default constructor, requires a planning unit.
- Public Member Functions inherited from QFunctionJAOHInterface
virtual std::string GetCacheFilename () const
 Gets the filename where the Qvalues should be stored.
void Load ()
 Load the Qvalues from disk.
 QFunctionJAOHInterface ()
void Save () const
 Stores the Qvalues to disk.
virtual ~QFunctionJAOHInterface ()
 Destructor.
- Public Member Functions inherited from QFunctionForDecPOMDPInterface
 QFunctionForDecPOMDPInterface ()
 (default) Constructor
virtual ~QFunctionForDecPOMDPInterface ()
 Destructor.
- Public Member Functions inherited from QFunctionInterface
virtual ~QFunctionInterface ()
 Compute the heuristic.
- Public Member Functions inherited from QFunctionForDecPOMDP
const
PlanningUnitDecPOMDPDiscrete
GetPU () const
 QFunctionForDecPOMDP (const PlanningUnitDecPOMDPDiscrete &pu)
 (default) Constructor

Private Member Functions

double ComputeRecursively (size_t time_step, JointActionObservationHistoryTree *jaoht, Index lastJAI)
 Recursively compute the heuristic.

Additional Inherited Members

- Protected Member Functions inherited from QFunctionJAOH
virtual void ComputeWithCachedQValues (std::string filenameCache)
 See ComputeWithCachedQValuesdQValues(), this version accepts a filename.
- Protected Attributes inherited from QFunctionJAOH
QTable _m_QValues
 Table in which the Qvalues are stored.

Detailed Description

QBG is a class that represents the QBG heuristic.

It is associated with a PlanningUnitDecPOMDPDiscrete which it uses for things as horizon, action-/observation(history) indices, etc.

Definition at line 44 of file QBG.h.

Constructor & Destructor Documentation

QBG::QBG ( const PlanningUnitDecPOMDPDiscrete pu)

(default) Constructor

Definition at line 46 of file QBG.cpp.

QBG::~QBG ( )

Destructor.

Definition at line 54 of file QBG.cpp.

Member Function Documentation

void QBG::ComputeNoCache ( )

Compute the heuristic.

(after associated with an initialized PlanningUnitDecPOMDPDiscrete)

Definition at line 230 of file QBG.cpp.


The documentation for this class was generated from the following files: