MultiAgentDecisionProcess
JPPVValuePair Class Reference

JPPVValuePair represents a (JointPolicyPureVector,Value) pair, which stores the full JointPolicyPureVector. More...

#include <JPPVValuePair.h>

Inheritance diagram for JPPVValuePair:
[legend]

Public Member Functions

boost::shared_ptr
< JointPolicyDiscretePure
GetJPol () const
 Copy assignment operator. More...
 
boost::shared_ptr
< JointPolicyPureVector
GetJPPV () const
 
 JPPVValuePair (const boost::shared_ptr< JointPolicyPureVector > &jp, double value)
 
std::string SoftPrint () const
 Softprint the PolicyPoolItemInterface. More...
 
std::string SoftPrintBrief () const
 Softprint the PolicyPoolItemInterface in brief. More...
 
 ~JPPVValuePair ()
 Destructor. More...
 
- Public Member Functions inherited from JointPolicyValuePair
double GetValue () const
 Returns the heuristic value. More...
 
 JointPolicyValuePair (double val)
 (default) Constructor More...
 
JointPolicyValuePairoperator= (const JointPolicyValuePair &o)
 Copy assignment operator. More...
 
 ~JointPolicyValuePair ()
 Destructor. More...
 
- Public Member Functions inherited from PolicyPoolItemInterface
void Print () const
 Prints a description to stdout. More...
 
void PrintBrief () const
 Prints a brief description to stdout. More...
 
virtual ~PolicyPoolItemInterface ()
 (default) Constructor More...
 

Private Attributes

boost::shared_ptr
< JointPolicyPureVector
_m_jpol
 

Detailed Description

JPPVValuePair represents a (JointPolicyPureVector,Value) pair, which stores the full JointPolicyPureVector.

Constructor & Destructor Documentation

JPPVValuePair::JPPVValuePair ( const boost::shared_ptr< JointPolicyPureVector > &  jp,
double  value 
)

References _m_jpol.

JPPVValuePair::~JPPVValuePair ( )

Destructor.

Member Function Documentation

boost::shared_ptr<JointPolicyDiscretePure> JPPVValuePair::GetJPol ( ) const
inlinevirtual

Copy assignment operator.

Returns a pointer to the wrapped (partial) joint policy

Implements PolicyPoolItemInterface.

boost::shared_ptr<JointPolicyPureVector> JPPVValuePair::GetJPPV ( ) const
inline
string JPPVValuePair::SoftPrint ( ) const
virtual
string JPPVValuePair::SoftPrintBrief ( ) const
virtual

Softprint the PolicyPoolItemInterface in brief.

Implements PolicyPoolItemInterface.

References _m_jpol, and JointPolicyValuePair::GetValue().

Member Data Documentation

boost::shared_ptr<JointPolicyPureVector> JPPVValuePair::_m_jpol
private