MultiAgentDecisionProcess  Release 0.2.1
QPOMDP Class Reference

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

#include <QPOMDP.h>

+ Inheritance diagram for QPOMDP:
+ Collaboration diagram for QPOMDP:

Public Member Functions

 QPOMDP (const PlanningUnitDecPOMDPDiscrete &pu)
 (default) Constructor
 ~QPOMDP ()
- 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

QPOMDP is a class that represents the QPOMDP heuristic.

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

Definition at line 43 of file QPOMDP.h.

Constructor & Destructor Documentation

QPOMDP::QPOMDP ( const PlanningUnitDecPOMDPDiscrete pu)

(default) Constructor

Definition at line 48 of file QPOMDP.cpp.

QPOMDP::~QPOMDP ( )

Definition at line 56 of file QPOMDP.cpp.

Member Function Documentation


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