MultiAgentDecisionProcess
|
QTreeIncPruneBG implements a QFunctionJAOH using TreeIncPruneBGPlanner. More...
#include <QTreeIncPruneBG.h>
Public Member Functions | |
void | Compute () |
Compute the heuristic. More... | |
TreeIncPruneBGPlanner * | GetPlanner () |
double | GetQ (Index jaohI, Index jaI) const |
Returns Q(joint A-O history jaohI, jaI). More... | |
QTreeIncPruneBG (const PlanningUnitDecPOMDPDiscrete *pu) | |
(default) Constructor More... | |
QTreeIncPruneBG (const boost::shared_ptr< const PlanningUnitDecPOMDPDiscrete > &pu) | |
std::string | SoftPrintBrief () const |
Returns a short description of the heuristic, can be used for constructing filenames. More... | |
~QTreeIncPruneBG () | |
Destructor. More... | |
Public Member Functions inherited from QFunctionJAOH | |
virtual void | ComputeWithCachedQValues (bool computeIfNotCached=true) |
Compute Qvalue function, while caching the Qvalues to disk. More... | |
QFunctionJAOH (const PlanningUnitDecPOMDPDiscrete *pu) | |
Default constructor, requires a planning unit. More... | |
QFunctionJAOH (const boost::shared_ptr< const PlanningUnitDecPOMDPDiscrete > &pu) | |
virtual | ~QFunctionJAOH () |
Destructor. More... | |
Public Member Functions inherited from QFunctionJAOHInterface | |
QFunctionJAOHInterface () | |
virtual | ~QFunctionJAOHInterface () |
Destructor. More... | |
Public Member Functions inherited from QFunctionForDecPOMDPInterface | |
QFunctionForDecPOMDPInterface () | |
(default) Constructor More... | |
virtual | ~QFunctionForDecPOMDPInterface () |
Destructor. More... | |
Public Member Functions inherited from QFunctionInterface | |
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 | ~QFunctionInterface () |
Public Member Functions inherited from QFunctionForDecPOMDP | |
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) |
Private Member Functions | |
void | DeInitialize () |
void | Initialize () |
Private Attributes | |
TreeIncPruneBGPlanner * | _m_p |
Additional Inherited Members | |
Protected Member Functions inherited from QFunctionJAOH | |
virtual void | ComputeWithCachedQValues (const std::string &filenameCache, bool computeIfNotCached=true) |
See ComputeWithCachedQValues(), this version accepts a filename. More... | |
Protected Attributes inherited from QFunctionJAOH | |
QTable | _m_QValues |
Table in which the Qvalues are stored. More... | |
QTreeIncPruneBG implements a QFunctionJAOH using TreeIncPruneBGPlanner.
QTreeIncPruneBG::QTreeIncPruneBG | ( | const PlanningUnitDecPOMDPDiscrete * | pu | ) |
(default) Constructor
References _m_p.
QTreeIncPruneBG::QTreeIncPruneBG | ( | const boost::shared_ptr< const PlanningUnitDecPOMDPDiscrete > & | pu | ) |
References _m_p.
QTreeIncPruneBG::~QTreeIncPruneBG | ( | ) |
Destructor.
References _m_p.
|
virtual |
|
inlineprivate |
|
inline |
Returns Q(joint A-O history jaohI, jaI).
Implements QFunctionJAOHInterface.
References _m_p, and MonahanPlanner::GetQ().
|
inlineprivate |
|
inlinevirtual |
Returns a short description of the heuristic, can be used for constructing filenames.
Implements QFunctionInterface.
|
private |
Referenced by Compute(), GetQ(), QTreeIncPruneBG(), and ~QTreeIncPruneBG().