MultiAgentDecisionProcess
Release 0.2.1
|
JointPolicyValuePair is a wrapper for a partial joint policy and its heuristic value. More...
#include <JointPolicyValuePair.h>
Public Member Functions | |
double | GetValue () const |
Returns the heuristic value. | |
JointPolicyValuePair (double val) | |
(default) Constructor | |
JointPolicyValuePair & | operator= (const JointPolicyValuePair &o) |
Copy assignment operator. | |
~JointPolicyValuePair () | |
Destructor. | |
![]() | |
virtual JointPolicyDiscretePure * | GetJPol ()=0 |
Copy assignment operator. | |
void | Print () const |
Prints a description to stdout. | |
void | PrintBrief () const |
Prints a brief description to stdout. | |
virtual std::string | SoftPrint () const =0 |
Softprint the PolicyPoolItemInterface. | |
virtual std::string | SoftPrintBrief () const =0 |
Softprint the PolicyPoolItemInterface in brief. | |
virtual | ~PolicyPoolItemInterface () |
(default) Constructor |
Private Attributes | |
double | _m_val |
JointPolicyValuePair is a wrapper for a partial joint policy and its heuristic value.
JointPolicyValuePair is a class that represents a (joint *policy,value) pair the operator less is defined for these pairs so *they can be but in ordered containers.
JointPolicyValuePair is a PolicyPoolItem (i.e., it implements PolicyPoolItemInterface)
Definition at line 47 of file JointPolicyValuePair.h.
|
inline |
|
inline |
Destructor.
Definition at line 62 of file JointPolicyValuePair.h.
|
inlinevirtual |
Returns the heuristic value.
Implements PolicyPoolItemInterface.
Definition at line 70 of file JointPolicyValuePair.h.
References _m_val.
Referenced by BGIPSolution::AddSolution(), GMAA_kGMAA::ConstructAndValuateNextPolicies(), std::less< JPPVValuePair * >::operator()(), std::less< JointPolicyValuePair * >::operator()(), DICEPSPlanner::OrderedInsertJPPVValuePair(), DICEPSPlanner::Plan(), DICEPSPlanner::PrintBestSamples(), PolicyPoolJPolValPair::Prune(), JPPVValuePair::SoftPrint(), JPPVIndexValuePair::SoftPrint(), JPPVValuePair::SoftPrintBrief(), and JPPVIndexValuePair::SoftPrintBrief().
|
inline |
Copy assignment operator.
Definition at line 65 of file JointPolicyValuePair.h.
|
private |
Definition at line 51 of file JointPolicyValuePair.h.
Referenced by GetValue(), and JointPolicyValuePair().