MultiAgentDecisionProcess
LocalBGValueFunctionVector Class Reference

LocalBGValueFunctionVector is a vector implementation of LocalBGValueFunctionInterface to represent an $ u^e( \beta_e ) $. More...

#include <LocalBGValueFunctionVector.h>

Inheritance diagram for LocalBGValueFunctionVector:
[legend]

Public Member Functions

Scope GetAgentScope () const
 
double GetValue (Index jpolI) const
 
double GetValue (std::vector< Index > indPols) const
 
 LocalBGValueFunctionVector (const boost::shared_ptr< const BayesianGameCollaborativeGraphical > &cgbg, Scope agentScope)
 (default) Constructor More...
 
void Print () const
 
void SetValue (Index jpolI, double value)
 Copy assignment operator. More...
 
void SetValue (std::vector< Index > indPols, double value)
 
std::string SoftPrint () const
 
 ~LocalBGValueFunctionVector ()
 Copy constructor. More...
 
- Public Member Functions inherited from LocalBGValueFunctionInterface
virtual ~LocalBGValueFunctionInterface ()
 (default) Constructor More...
 

Private Attributes

Scope _m_agentScope
 
boost::shared_ptr< const
BayesianGameCollaborativeGraphical
_m_bgcg
 
std::vector< size_t > _m_nrIndivPols
 a vector with the number of joint policies of each agent that participates in this LocalBGValueFunction More...
 
size_t _m_nrJointPols
 the number of joint local policies More...
 
std::vector< double > _m_values
 

Detailed Description

LocalBGValueFunctionVector is a vector implementation of LocalBGValueFunctionInterface to represent an $ u^e( \beta_e ) $.

Constructor & Destructor Documentation

LocalBGValueFunctionVector::LocalBGValueFunctionVector ( const boost::shared_ptr< const BayesianGameCollaborativeGraphical > &  cgbg,
Scope  agentScope 
)

(default) Constructor

References Globals::CastLIndexToIndex().

LocalBGValueFunctionVector::~LocalBGValueFunctionVector ( )

Copy constructor.

Destructor.

Member Function Documentation

Scope LocalBGValueFunctionVector::GetAgentScope ( ) const
inlinevirtual
double LocalBGValueFunctionVector::GetValue ( Index  jpolI) const
inlinevirtual
double LocalBGValueFunctionVector::GetValue ( std::vector< Index indPols) const
inlinevirtual
void LocalBGValueFunctionVector::Print ( ) const
inlinevirtual

Implements LocalBGValueFunctionInterface.

References SoftPrint().

void LocalBGValueFunctionVector::SetValue ( Index  jpolI,
double  value 
)
inlinevirtual

Copy assignment operator.

Implements LocalBGValueFunctionInterface.

void LocalBGValueFunctionVector::SetValue ( std::vector< Index indPols,
double  value 
)
inlinevirtual
string LocalBGValueFunctionVector::SoftPrint ( void  ) const
virtual

Member Data Documentation

Scope LocalBGValueFunctionVector::_m_agentScope
private

Referenced by GetAgentScope().

boost::shared_ptr<const BayesianGameCollaborativeGraphical> LocalBGValueFunctionVector::_m_bgcg
private
std::vector<size_t> LocalBGValueFunctionVector::_m_nrIndivPols
private

a vector with the number of joint policies of each agent that participates in this LocalBGValueFunction

size_t LocalBGValueFunctionVector::_m_nrJointPols
private

the number of joint local policies

std::vector<double> LocalBGValueFunctionVector::_m_values
private