MultiAgentDecisionProcess
|
LocalBGValueFunctionVector is a vector implementation of LocalBGValueFunctionInterface to represent an . More...
#include <LocalBGValueFunctionVector.h>
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 |
LocalBGValueFunctionVector is a vector implementation of LocalBGValueFunctionInterface to represent an .
LocalBGValueFunctionVector::LocalBGValueFunctionVector | ( | const boost::shared_ptr< const BayesianGameCollaborativeGraphical > & | cgbg, |
Scope | agentScope | ||
) |
(default) Constructor
References Globals::CastLIndexToIndex().
LocalBGValueFunctionVector::~LocalBGValueFunctionVector | ( | ) |
Copy constructor.
Destructor.
|
inlinevirtual |
Implements LocalBGValueFunctionInterface.
References _m_agentScope.
|
inlinevirtual |
Implements LocalBGValueFunctionInterface.
|
inlinevirtual |
Implements LocalBGValueFunctionInterface.
References IndexTools::IndividualToJointIndices().
|
inlinevirtual |
Implements LocalBGValueFunctionInterface.
References SoftPrint().
|
inlinevirtual |
Copy assignment operator.
Implements LocalBGValueFunctionInterface.
|
inlinevirtual |
Implements LocalBGValueFunctionInterface.
References IndexTools::IndividualToJointIndices().
|
virtual |
Implements LocalBGValueFunctionInterface.
References PrintTools::SoftPrintVector().
Referenced by Print().
|
private |
Referenced by GetAgentScope().
|
private |
|
private |
a vector with the number of joint policies of each agent that participates in this LocalBGValueFunction
|
private |
the number of joint local policies
|
private |