MultiAgentDecisionProcess
|
QFunctionForDecPOMDP is a class that represents a Q function for a Dec-POMDP. More...
#include <QFunctionForDecPOMDP.h>
Public Member Functions | |
virtual std::string | GetCacheFilename () const |
Gets the filename where the Qvalues should be stored. More... | |
const PlanningUnitDecPOMDPDiscrete * | GetPU () const |
QFunctionForDecPOMDP (const PlanningUnitDecPOMDPDiscrete *pu) | |
(default) Constructor More... | |
QFunctionForDecPOMDP (const boost::shared_ptr< const PlanningUnitDecPOMDPDiscrete > &pu) | |
void | SetPU (const PlanningUnitDecPOMDPDiscrete *pu) |
void | SetPU (const boost::shared_ptr< const PlanningUnitDecPOMDPDiscrete > &pu) |
Public Member Functions inherited from QFunctionForDecPOMDPInterface | |
QFunctionForDecPOMDPInterface () | |
(default) Constructor More... | |
virtual | ~QFunctionForDecPOMDPInterface () |
Destructor. More... | |
Public Member Functions inherited from QFunctionInterface | |
virtual void | Compute ()=0 |
Compute the heuristic. More... | |
virtual void | ComputeWithCachedQValues (bool computeIfNotCached=true)=0 |
Compute Qvalue function, while caching the Qvalues to disk. More... | |
virtual void | Load () |
Load the Qvalues from disk. More... | |
virtual void | Load (const std::string &filename)=0 |
Load the Qvalues from disk from a file named filename. More... | |
virtual void | Save () const |
Stores the Qvalues to disk. More... | |
virtual void | Save (const std::string &filename) const =0 |
Stores the Qvalues to disk in file named filename. More... | |
virtual std::string | SoftPrintBrief () const =0 |
Returns a short description of the heuristic, can be used for constructing filenames. More... | |
virtual | ~QFunctionInterface () |
Private Attributes | |
const PlanningUnitDecPOMDPDiscrete * | _m_pu |
boost::shared_ptr< const PlanningUnitDecPOMDPDiscrete > | _m_puShared |
QFunctionForDecPOMDP is a class that represents a Q function for a Dec-POMDP.
This is a base class that only stores a pointer to the Dec-POMDP planning unit.
|
inline |
(default) Constructor
|
inline |
|
virtual |
Gets the filename where the Qvalues should be stored.
Implements QFunctionInterface.
References directories::MADPGetResultsDir().
Referenced by QFunctionJAOH::ComputeWithCachedQValues(), and QHybrid::ComputeWithCachedQValues().
|
inlinevirtual |
Implements QFunctionForDecPOMDPInterface.
Referenced by QMDP::CacheJaohQValues(), QFunctionJAOHTree::ComputeQ(), QHybrid::ComputeQ(), QHybrid::ComputeRecursively(), QBG::ComputeRecursivelyNoCache(), QFunctionJAOH::ComputeWithCachedQValues(), QFunctionJointBelief::GetQ(), QHybrid::GetQ(), QAlphaVector::GetQ(), QAV< PerseusPOMDPPlanner >::GetQ(), QMDP::GetQNoCache(), QFunctionJAOHTree::Initialize(), QMDP::Initialize(), QHybrid::Initialize(), QFunctionJAOHTree::Load(), QHybrid::Load(), QMDP::Load(), QAV< PerseusPOMDPPlanner >::QAV(), and QHybrid::QHybrid().
|
inlinevirtual |
Implements QFunctionForDecPOMDPInterface.
Reimplemented in QMDP, and QFunctionJAOHTree.
Referenced by QFunctionJAOHTree::SetPU(), and QMDP::SetPU().
|
inlinevirtual |
Implements QFunctionForDecPOMDPInterface.
Reimplemented in QMDP, and QFunctionJAOHTree.
|
private |
|
private |