MultiAgentDecisionProcess
PartialJPDPValuePair Class Reference

PartialJPDPValuePair represents a (PartialJointPolicyDiscretePure,Value) pair, which stores the full PartialJointPolicyDiscretePure. More...

#include <PartialJPDPValuePair.h>

Inheritance diagram for PartialJPDPValuePair:
[legend]

Public Member Functions

void CleanUpBGIPSolver ()
 Deletes the BGIPSolver instance associated with this PPI. More...
 
PartialJPDPValuePairClone () const
 Returns a pointer to a copy of this class. More...
 
boost::shared_ptr< BGCG_SolverGetBGCGSolverPointer () const
 Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure. More...
 
boost::shared_ptr
< BayesianGameIdenticalPayoffSolver_T
< JointPolicyPureVectorForClusteredBG > > 
GetBGIPSolver_T_PointerCluster () const
 Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure. More...
 
boost::shared_ptr
< BayesianGameIdenticalPayoffSolver_T
< JointPolicyPureVector > > 
GetBGIPSolver_T_PointerJPPV () const
 Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure. More...
 
boost::shared_ptr
< BayesianGameIdenticalPayoffSolver
GetBGIPSolverPointer () const
 Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure. More...
 
PJPDP_sharedPtr GetJPol () const
 Copy assignment operator. More...
 
 PartialJPDPValuePair (const PJPDP_sharedPtr &jp, double val)
 
 PartialJPDPValuePair (const PartialJPDPValuePair &a)
 Copy constructor. More...
 
void SetBGCGSolverPointer (const boost::shared_ptr< BGCG_Solver > &bgcgs)
 Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure. More...
 
void SetBGIPSolver_T_Pointer (const boost::shared_ptr< BayesianGameIdenticalPayoffSolver_T< JointPolicyPureVector > > &bgips)
 Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure. More...
 
void SetBGIPSolver_T_Pointer (const boost::shared_ptr< BayesianGameIdenticalPayoffSolver_T< JointPolicyPureVectorForClusteredBG > > &bgips)
 Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure. More...
 
void SetBGIPSolverPointer (const boost::shared_ptr< BayesianGameIdenticalPayoffSolver > &bgips)
 Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure. More...
 
std::string SoftPrint () const
 Softprint the PartialPolicyPoolItemInterface. More...
 
std::string SoftPrintBrief () const
 Softprint the PartialPolicyPoolItemInterface in brief. More...
 
 ~PartialJPDPValuePair ()
 Destructor. More...
 
- Public Member Functions inherited from PartialJointPolicyValuePair
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
void Print () const
 Prints a description to stdout. More...
 
void PrintBrief () const
 Prints a brief description to stdout. More...
 
virtual ~PartialPolicyPoolItemInterface ()
 (default) Constructor More...
 

Private Attributes

boost::shared_ptr< BGCG_Solver_m_bgcg_solver
 
boost::shared_ptr
< BayesianGameIdenticalPayoffSolver
_m_bgip_solver
 
boost::shared_ptr
< BayesianGameIdenticalPayoffSolver_T
< JointPolicyPureVector > > 
_m_bgip_solver_T
 
boost::shared_ptr
< BayesianGameIdenticalPayoffSolver_T
< JointPolicyPureVectorForClusteredBG > > 
_m_bgip_solver_TC
 
PJPDP_sharedPtr _m_jpol
 The pointer to the past joint policy associated with this ppi. More...
 

Detailed Description

Constructor & Destructor Documentation

PartialJPDPValuePair::PartialJPDPValuePair ( const PJPDP_sharedPtr jp,
double  val 
)

Referenced by Clone().

PartialJPDPValuePair::PartialJPDPValuePair ( const PartialJPDPValuePair a)
PartialJPDPValuePair::~PartialJPDPValuePair ( )

Destructor.

Member Function Documentation

void PartialJPDPValuePair::CleanUpBGIPSolver ( )
virtual

Deletes the BGIPSolver instance associated with this PPI.

Implements PartialPolicyPoolItemInterface.

PartialJPDPValuePair * PartialJPDPValuePair::Clone ( ) const
virtual

Returns a pointer to a copy of this class.

Implements PartialPolicyPoolItemInterface.

References PartialJPDPValuePair().

boost::shared_ptr<BGCG_Solver> PartialJPDPValuePair::GetBGCGSolverPointer ( ) const
inlinevirtual

Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure.

Implements PartialPolicyPoolItemInterface.

boost::shared_ptr<BayesianGameIdenticalPayoffSolver_T<JointPolicyPureVectorForClusteredBG> > PartialJPDPValuePair::GetBGIPSolver_T_PointerCluster ( ) const
inlinevirtual

Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure.

Implements PartialPolicyPoolItemInterface.

boost::shared_ptr<BayesianGameIdenticalPayoffSolver_T<JointPolicyPureVector> > PartialJPDPValuePair::GetBGIPSolver_T_PointerJPPV ( ) const
inlinevirtual

Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure.

Implements PartialPolicyPoolItemInterface.

boost::shared_ptr<BayesianGameIdenticalPayoffSolver> PartialJPDPValuePair::GetBGIPSolverPointer ( ) const
inlinevirtual

Returns a pointer to the BGIPSolver instance generated by this PartialJointPolicyDiscretePure.

Implements PartialPolicyPoolItemInterface.

PJPDP_sharedPtr PartialJPDPValuePair::GetJPol ( ) const
inlinevirtual

Copy assignment operator.

Returns a pointer to the wrapped (partial) joint policy

Implements PartialPolicyPoolItemInterface.

void PartialJPDPValuePair::SetBGCGSolverPointer ( const boost::shared_ptr< BGCG_Solver > &  bgcgs)
inlinevirtual

Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure.

Implements PartialPolicyPoolItemInterface.

void PartialJPDPValuePair::SetBGIPSolver_T_Pointer ( const boost::shared_ptr< BayesianGameIdenticalPayoffSolver_T< JointPolicyPureVector > > &  bgips)
inlinevirtual

Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure.

Implements PartialPolicyPoolItemInterface.

void PartialJPDPValuePair::SetBGIPSolver_T_Pointer ( const boost::shared_ptr< BayesianGameIdenticalPayoffSolver_T< JointPolicyPureVectorForClusteredBG > > &  bgips)
inlinevirtual

Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure.

Implements PartialPolicyPoolItemInterface.

void PartialJPDPValuePair::SetBGIPSolverPointer ( const boost::shared_ptr< BayesianGameIdenticalPayoffSolver > &  bgips)
inlinevirtual

Sets the pointer to the BGIPSolver instance associated with this PartialJointPolicyDiscretePure.

Implements PartialPolicyPoolItemInterface.

string PartialJPDPValuePair::SoftPrint ( ) const
virtual
string PartialJPDPValuePair::SoftPrintBrief ( ) const
virtual

Member Data Documentation

boost::shared_ptr<BGCG_Solver> PartialJPDPValuePair::_m_bgcg_solver
private

Referenced by PartialJPDPValuePair().

boost::shared_ptr<BayesianGameIdenticalPayoffSolver> PartialJPDPValuePair::_m_bgip_solver
private

Referenced by PartialJPDPValuePair().

boost::shared_ptr<BayesianGameIdenticalPayoffSolver_T<JointPolicyPureVector> > PartialJPDPValuePair::_m_bgip_solver_T
private

Referenced by PartialJPDPValuePair().

boost::shared_ptr<BayesianGameIdenticalPayoffSolver_T<JointPolicyPureVectorForClusteredBG> > PartialJPDPValuePair::_m_bgip_solver_TC
private

Referenced by PartialJPDPValuePair().

PJPDP_sharedPtr PartialJPDPValuePair::_m_jpol
private

The pointer to the past joint policy associated with this ppi.

Referenced by PartialJPDPValuePair(), SoftPrint(), and SoftPrintBrief().