MultiAgentDecisionProcess
|
QFunctionJAOHInterface is a class that is an interface for heuristics of the shape Q(JointActionObservationHistory, JointAction) More...
#include <QFunctionJAOHInterface.h>
Public Member Functions | |
virtual double | GetQ (Index jaohI, Index jaI) const =0 |
Returns Q(joint A-O history jaohI, jaI). More... | |
QFunctionJAOHInterface () | |
virtual | ~QFunctionJAOHInterface () |
Destructor. More... | |
Public Member Functions inherited from QFunctionForDecPOMDPInterface | |
virtual const PlanningUnitDecPOMDPDiscrete * | GetPU () const =0 |
QFunctionForDecPOMDPInterface () | |
(default) Constructor More... | |
virtual void | SetPU (const PlanningUnitDecPOMDPDiscrete *pu)=0 |
virtual void | SetPU (const boost::shared_ptr< const PlanningUnitDecPOMDPDiscrete > &pu)=0 |
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 std::string | GetCacheFilename () const =0 |
Gets the filename where the Qvalues should be stored. 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 () |
QFunctionJAOHInterface is a class that is an interface for heuristics of the shape Q(JointActionObservationHistory, JointAction)
(As these type of heuristics specify only 1 reward, they are (implicitly) for Dec-POMDPs only.)
|
inline |
|
inlinevirtual |
Destructor.
there is a (big) chance that we will call delete base_class_pointer where base_class_pointer actually points to a derived object. To make sure that the derived destructor is called, this destructor is declared virtual.
Returns Q(joint A-O history jaohI, jaI).
Implemented in QAV< P >, QAlphaVector, QHybrid, QMDP, QFunctionJAOHTree, QMonahanBG, QMonahanPOMDP, FactoredQLastTimeStepOrQBG, FactoredQLastTimeStepOrQMDP, FactoredQLastTimeStepOrQPOMDP, and QTreeIncPruneBG.
Referenced by BayesianGameWithClusterInfo::Extend(), GeneralizedMAAStarPlannerForDecPOMDPDiscrete::GetHeuristicQ(), GeneralizedMAAStarPlannerForFactoredDecPOMDPDiscrete::GetHeuristicQ(), and BayesianGameForDecPOMDPStage::Initialize().