MultiAgentDecisionProcess
PartialJointPolicyValuePair Class Reference

PartialJointPolicyValuePair is a wrapper for a partial joint policy and its heuristic value. More...

#include <PartialJointPolicyValuePair.h>

Inheritance diagram for PartialJointPolicyValuePair:
[legend]

Public Member Functions

double GetValue () const
 Returns the heuristic value. More...
 
PartialJointPolicyValuePairoperator= (const PartialJointPolicyValuePair &o)
 Copy assignment operator. More...
 
 PartialJointPolicyValuePair (double val)
 (default) Constructor More...
 
void SetValue (double value)
 Sets the heuristic value. More...
 
 ~PartialJointPolicyValuePair ()
 Destructor. More...
 
- Public Member Functions inherited from PartialPolicyPoolItemInterface
virtual void CleanUpBGIPSolver ()=0
 Deletes the BGIPSolver instance associated with this PPI. More...
 
virtual
PartialPolicyPoolItemInterface
Clone () const =0
 Returns a pointer to a copy of this class. More...
 
virtual boost::shared_ptr
< BGCG_Solver
GetBGCGSolverPointer () const =0
 Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure. More...
 
virtual boost::shared_ptr
< BayesianGameIdenticalPayoffSolver_T
< JointPolicyPureVectorForClusteredBG > > 
GetBGIPSolver_T_PointerCluster () const =0
 Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure. More...
 
virtual boost::shared_ptr
< BayesianGameIdenticalPayoffSolver_T
< JointPolicyPureVector > > 
GetBGIPSolver_T_PointerJPPV () const =0
 Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure. More...
 
virtual boost::shared_ptr
< BayesianGameIdenticalPayoffSolver
GetBGIPSolverPointer () const =0
 Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure. More...
 
virtual boost::shared_ptr
< PartialJointPolicyDiscretePure
GetJPol () const =0
 Copy assignment operator. More...
 
void Print () const
 Prints a description to stdout. More...
 
void PrintBrief () const
 Prints a brief description to stdout. More...
 
virtual void SetBGCGSolverPointer (const boost::shared_ptr< BGCG_Solver > &bgcgs)=0
 Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure. More...
 
virtual void SetBGIPSolver_T_Pointer (const boost::shared_ptr< BayesianGameIdenticalPayoffSolver_T< JointPolicyPureVector > > &bgips)=0
 Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure. More...
 
virtual void SetBGIPSolver_T_Pointer (const boost::shared_ptr< BayesianGameIdenticalPayoffSolver_T< JointPolicyPureVectorForClusteredBG > > &bgips)=0
 Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure. More...
 
virtual void SetBGIPSolverPointer (const boost::shared_ptr< BayesianGameIdenticalPayoffSolver > &bgips)=0
 Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure. More...
 
virtual std::string SoftPrint () const =0
 Softprint the PartialPolicyPoolItemInterface. More...
 
virtual std::string SoftPrintBrief () const =0
 Softprint the PartialPolicyPoolItemInterface in brief. More...
 
virtual ~PartialPolicyPoolItemInterface ()
 (default) Constructor More...
 

Private Attributes

double _m_val
 

Detailed Description

PartialJointPolicyValuePair is a wrapper for a partial joint policy and its heuristic value.

PartialJointPolicyValuePair 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.

PartialJointPolicyValuePair is a PolicyPoolItem (i.e., it implements PartialPolicyPoolItemInterface)

Constructor & Destructor Documentation

PartialJointPolicyValuePair::PartialJointPolicyValuePair ( double  val)
inline

(default) Constructor

PartialJointPolicyValuePair::~PartialJointPolicyValuePair ( )
inline

Destructor.

Member Function Documentation

PartialJointPolicyValuePair& PartialJointPolicyValuePair::operator= ( const PartialJointPolicyValuePair o)
inline

Copy assignment operator.

void PartialJointPolicyValuePair::SetValue ( double  value)
inlinevirtual

Sets the heuristic value.

Implements PartialPolicyPoolItemInterface.

Member Data Documentation

double PartialJointPolicyValuePair::_m_val
private