MultiAgentDecisionProcess
|
BayesianGameBase is a class that represents a Bayesian game. More...
#include <BayesianGameBase.h>
Public Member Functions | |
void | AddProbability (Index i, double p) |
Adds p to the probability of joint type i. More... | |
void | AddProbability (const std::vector< Index > &indIndices, double p) |
Adds p to the probability of joint type corresponding to the individual type indices (indIndices). More... | |
virtual bool | AreCachedJointToIndivIndices (const PolicyGlobals::PolicyDomainCategory pdc) const |
Check whether certain index conversions are cached. More... | |
BayesianGameBase () | |
BayesianGameBase (size_t nrAgents, const std::vector< size_t > &nrActions, const std::vector< size_t > &nrTypes, int verboseness=0) | |
BayesianGameBase (const BayesianGameBase &a) | |
Copy constructor. More... | |
bool | CacheJointToIndivAOH_Indices () const |
bool | CacheJointToIndivOH_Indices () const |
bool | CacheJointToIndivType_Indices () const |
virtual PolicyGlobals::PolicyDomainCategory | GetDefaultIndexDomCat () const |
Return the default PolicyDomainCategory for the problem. More... | |
size_t | GetNrActions (Index agentI) const |
Get the number of invididual actions of a particular agent. More... | |
const std::vector< size_t > & | GetNrActions () const |
size_t | GetNrAgents () const |
implement the Interface_ProblemToPolicyDiscrete interface: More... | |
size_t | GetNrJointActions () const |
LIndex | GetNrJointPolicies () const |
size_t | GetNrJointTypes () const |
LIndex | GetNrPolicies (Index ag) const |
size_t | GetNrPolicyDomainElements (Index agentI, PolicyGlobals::PolicyDomainCategory cat, size_t depth=MAXHORIZON) const |
Get the number of elements in the domain of an agent's policy. More... | |
const std::vector< size_t > & | GetNrTypes () const |
size_t | GetNrTypes (Index agI) const |
virtual double | GetProbability (Index i) const |
Gets the probability of joint type i. More... | |
virtual double | GetProbability (const std::vector< Index > &indIndices) const |
Gets the probability of joint type corresponding to the individual type indices (indIndices) More... | |
Index | IndividualToJointActionIndices (const Index *IndArr) const |
Converts individual action indices to a joint action index. More... | |
Index | IndividualToJointActionIndices (const std::vector< Index > &indices) const |
Converts individual action indices to a joint action index. More... | |
Index | IndividualToJointTypeIndices (const std::vector< Index > &indices) const |
std::vector< Index > | JointToIndividualActionIndices (Index jaI) const |
std::vector< Index > | JointToIndividualPolicyDomainIndices (Index jdI, PolicyGlobals::PolicyDomainCategory cat) const |
implementation of JointToIndividualPolicyDomainIndices More... | |
const std::vector< Index > & | JointToIndividualPolicyDomainIndicesRef (Index jdI, PolicyGlobals::PolicyDomainCategory cat) const |
implementation of JointToIndividualPolicyDomainIndicesRef More... | |
const std::vector< Index > & | JointToIndividualTypeIndices (Index jTypeI) const |
BayesianGameBase & | operator= (const BayesianGameBase &o) |
void | Print () const |
Print this BayesianGameBase to cout. More... | |
virtual void | SanityCheck () |
Sanity check should be overriden by classes that do not use the implementation provided by this class (e.g. More... | |
void | SanityCheckBGBase () |
bool | SetInitialized (bool b) |
Sets the initialized status to b. More... | |
void | SetProbability (Index i, double p) |
Sets the probability of joint type i to p. More... | |
void | SetProbability (const std::vector< Index > &indIndices, double p) |
Sets the probability of joint type corresponding to the individual type indices (indIndices) to p. More... | |
std::string | SoftPrint () const |
Prints a description of this BayesianGameBase to a string. More... | |
std::string | SoftPrintAction (Index agentI, Index actionI) const |
Virtual function that has to be implemented by derived class. More... | |
std::string | SoftPrintPolicyDomainElement (Index agentI, Index typeIndex, PolicyGlobals::PolicyDomainCategory cat) const |
Virtual function that has to be implemented by derived class. More... | |
std::string | SoftPrintSummary () const |
std::string | SoftPrintType (Index agentI, Index typeIndex) const |
~BayesianGameBase () | |
Destructor. More... | |
Public Member Functions inherited from Interface_ProblemToPolicyDiscretePure | |
LIndex | GetNrJointPolicies (PolicyGlobals::PolicyDomainCategory cat, size_t depth=MAXHORIZON) const |
Get the number of joint policies, given the policy's domain. More... | |
LIndex | GetNrPolicies (Index ag, PolicyGlobals::PolicyDomainCategory cat, size_t depth=MAXHORIZON) const |
Get the number of policies for an agent, given the policy's domain. More... | |
virtual | ~Interface_ProblemToPolicyDiscretePure () |
Destructor. More... | |
Public Member Functions inherited from Interface_ProblemToPolicyDiscrete | |
size_t | GetNrJointActions () const |
Get the number of joint actions. More... | |
Interface_ProblemToPolicyDiscrete () | |
(default) Constructor More... | |
virtual | ~Interface_ProblemToPolicyDiscrete () |
Destructor. More... | |
Protected Member Functions | |
void | ChangeNrActions (Index agI, size_t new_nr) |
void | ChangeNrTypes (Index agI, size_t new_nr) |
void | Initialize () |
Protected Attributes | |
bool | _m_initialized |
private bool to indicate whether this BG is initialized. More... | |
bool | _m_JAoverflow |
Boolean that indicates whether the number of joint actions can be represented by size_t (or that overflowing occurs) More... | |
bool | _m_JToverflow |
Boolean that indicates whether the number of joint types can be represented by size_t (or that overflowing occurs) More... | |
std::vector< size_t > | _m_nrActions |
the number of actions for each agent More... | |
size_t | _m_nrAgents |
the number of players (or agents) More... | |
size_t | _m_nrJA |
the number of joint types: More... | |
size_t | _m_nrJTypes |
the number of joint actions: More... | |
std::vector< size_t > | _m_nrTypes |
the number of types for each agent More... | |
size_t * | _m_stepSizeActions |
an size_t array that caches the stepsize array for actions: More... | |
size_t * | _m_stepSizeTypes |
an size_t array that caches the stepsize array for types: More... | |
int | _m_verboseness |
_m_verboseness >0 verbose, <0 is quiet More... | |
Private Types | |
typedef boost::numeric::ublas::mapped_vector < double > | SparseVector |
Private Attributes | |
std::vector< std::vector < Index > > * | _m_jointToIndTypes |
An joint type -> indiv. type indices cache: More... | |
std::map< Index, std::vector < Index > > * | _m_jointToIndTypesMap |
An joint type -> indiv. type indices cache: More... | |
std::vector< double > | _m_jTypeProbs |
the probability distribution over joint types. A mapping from joint indices to probabilities More... | |
SparseVector | _m_jTypeProbsSparse |
bool | _m_useSparse |
BayesianGameBase is a class that represents a Bayesian game.
This is a self contained class - meaning that it does not depend on any Multi-agent decision problem or Planning unit. This implies that, in order to convert a time-step of a MADP Planning Unit to a Bayesian game, indices of observation(-action) histories have to be converted. This class uses its own indices.
|
private |
BayesianGameBase::BayesianGameBase | ( | ) |
BayesianGameBase::BayesianGameBase | ( | size_t | nrAgents, |
const std::vector< size_t > & | nrActions, | ||
const std::vector< size_t > & | nrTypes, | ||
int | verboseness = 0 |
||
) |
References _m_nrActions, _m_nrAgents, _m_nrTypes, _m_stepSizeActions, _m_stepSizeTypes, and Initialize().
BayesianGameBase::BayesianGameBase | ( | const BayesianGameBase & | a | ) |
Copy constructor.
References _m_jointToIndTypes, _m_jointToIndTypesMap, _m_nrActions, _m_nrTypes, _m_stepSizeActions, _m_stepSizeTypes, and IndexTools::CalculateStepSize().
BayesianGameBase::~BayesianGameBase | ( | ) |
Destructor.
References _m_jointToIndTypes, _m_jointToIndTypesMap, _m_stepSizeActions, and _m_stepSizeTypes.
|
inline |
Adds p to the probability of joint type i.
Referenced by AddProbability().
|
inline |
Adds p to the probability of joint type corresponding to the individual type indices (indIndices).
References AddProbability(), and IndividualToJointTypeIndices().
|
virtual |
Check whether certain index conversions are cached.
Implements Interface_ProblemToPolicyDiscrete.
References PolicyGlobals::AOHIST_INDEX, CacheJointToIndivAOH_Indices(), CacheJointToIndivOH_Indices(), CacheJointToIndivType_Indices(), PolicyGlobals::OHIST_INDEX, and PolicyGlobals::TYPE_INDEX.
|
inline |
Referenced by AreCachedJointToIndivIndices().
|
inline |
Referenced by AreCachedJointToIndivIndices().
|
inline |
Referenced by AreCachedJointToIndivIndices().
|
protected |
References _m_nrActions, and Initialize().
Referenced by Problem_CGBG_FF::AssignAgentActionsToHouses().
|
protected |
References _m_nrTypes, and Initialize().
Referenced by Problem_CGBG_FF::AssignAgentTypesToHouses().
|
virtual |
Return the default PolicyDomainCategory for the problem.
Implements Interface_ProblemToPolicyDiscrete.
References PolicyGlobals::TYPE_INDEX.
|
inlinevirtual |
Get the number of invididual actions of a particular agent.
Implements Interface_ProblemToPolicyDiscrete.
Referenced by Problem_CGBG_FF::AddEdge(), BGIP_SolverAlternatingMaximization< JP >::ComputeBestResponse(), and BayesianGameIdenticalPayoff::SaveTextFormat().
|
inline |
References _m_nrActions.
Referenced by Problem_CGBG_FF::ExportAsMAID().
|
inlinevirtual |
implement the Interface_ProblemToPolicyDiscrete interface:
Implements Interface_ProblemToPolicyDiscrete.
References _m_nrAgents.
Referenced by BayesianGameCollaborativeGraphical::AddLRF(), Problem_CGBG_FF::AssignAgentActionsToHouses(), Problem_CGBG_FF::AssignAgentTypesToHouses(), BayesianGameWithClusterInfo::BayesianGameWithClusterInfo(), BayesianGameWithClusterInfo::Cluster(), BayesianGameWithClusterInfo::ComputeMarginalTypeProbability(), BGCG_SolverMaxPlus::Construct_JointType_Factors_CGBG(), BG_FactorGraphCreator::Construct_LocalJointType_Factors(), BG_FactorGraphCreator::Construct_LocalPayoff_Factors(), BayesianGameForDecPOMDPStage::ConstructExtendedPolicy(), Problem_CGBG_FF::ExportAsMAID(), BayesianGameWithClusterInfo::Extend(), BayesianGameForDecPOMDPStage::Fill_FirstOHtsI(), BayesianGameForDecPOMDPStage::Fill_joI_Array(), BGIP_BnB_Node::GetImpliedJPol(), Problem_CGBG_FF::GetUnixName(), LocalBGValueFunctionBGCGWrapper::GetValue(), BayesianGameCollaborativeGraphical::IsFullyConnected(), Problem_CGBG_FF::Problem_CGBG_FF(), BayesianGameIdenticalPayoff::SaveTextFormat(), Problem_CGBG_FF::ScatterAgents(), BayesianGameWithClusterInfo::ShiftProbabilityAndUtility(), BayesianGameWithClusterInfo::SoftPrint(), BayesianGameWithClusterInfo::TestApproximateEquivalence(), and BayesianGameWithClusterInfo::TestExactEquivalence().
size_t BayesianGameBase::GetNrJointActions | ( | ) | const |
References _m_JAoverflow, and _m_nrJA.
Referenced by BayesianGameForDecPOMDPStage::ComputeAllImmediateRewards(), BGCG_SolverMaxPlus::Construct_JointType_Factors_CGBG(), BG_FactorGraphCreator::Construct_LocalJointType_Factors(), BayesianGameWithClusterInfo::Extend(), BayesianGameIdenticalPayoff::GenerateRandomBG(), BayesianGameForDecPOMDPStage::Initialize(), BayesianGameIdenticalPayoff::LoadTextFormat(), BayesianGameIdenticalPayoff::SaveTextFormat(), and BayesianGameWithClusterInfo::ShiftProbabilityAndUtility().
|
inline |
size_t BayesianGameBase::GetNrJointTypes | ( | ) | const |
References _m_JToverflow, and _m_nrJTypes.
Referenced by BayesianGameWithClusterInfo::BayesianGameWithClusterInfo(), BayesianGameWithClusterInfo::Cluster(), BayesianGameForDecPOMDPStage::ComputeAllImmediateRewards(), BGIP_SolverAlternatingMaximization< JP >::ComputeBestResponse(), BayesianGameForDecPOMDPStage::ComputeDiscountedImmediateRewardForJPol(), BayesianGameIdenticalPayoffInterface::ComputeValueJPol(), BayesianGameIdenticalPayoff::ComputeValueJPol(), BGCG_SolverMaxPlus::Construct_JointType_Factors_CGBG(), BG_FactorGraphCreator::Construct_LocalJointType_Factors(), BG_FactorGraphCreator::Construct_LocalPayoff_Factors(), GMAA_MAAstarClassic::ConstructAndValuateNextPolicies(), BayesianGameIdenticalPayoffSolver::Evaluate(), BayesianGameWithClusterInfo::Extend(), BayesianGameIdenticalPayoff::GenerateRandomBG(), LocalBGValueFunctionBGCGWrapper::GetValue(), BayesianGameIdenticalPayoff::LoadTextFormat(), BayesianGameIdenticalPayoff::SaveTextFormat(), and BayesianGameCollaborativeGraphical::SetProbabilityDistribution().
|
virtual |
Get the number of elements in the domain of an agent's policy.
Implements Interface_ProblemToPolicyDiscrete.
References _m_nrTypes, and Globals::MAXHORIZON.
|
inline |
References _m_nrTypes.
Referenced by Problem_CGBG_FF::AddEdge(), BayesianGameWithClusterInfo::BayesianGameWithClusterInfo(), BGIP_SolverAlternatingMaximization< JP >::ComputeBestResponse(), BayesianGameCollaborativeGraphical::ComputeValueJPol(), GMAA_MAAstarClassic::ConstructAndValuateNextPolicies(), BayesianGameWithClusterInfo::ConstructClusteredIndividualTypes(), Problem_CGBG_FF::ExportAsMAID(), and BayesianGameIdenticalPayoff::SaveTextFormat().
|
inline |
|
virtual |
Gets the probability of joint type i.
Reimplemented in Problem_CGBG_FF, and BayesianGameCollaborativeGraphical.
References _m_jTypeProbs, _m_jTypeProbsSparse, and _m_useSparse.
Referenced by BayesianGameWithClusterInfo::Cluster(), BGIP_SolverAlternatingMaximization< JP >::ComputeBestResponse(), BayesianGameForDecPOMDPStage::ComputeDiscountedImmediateRewardForJPol(), BayesianGameWithClusterInfo::ComputeMarginalTypeProbability(), BayesianGameIdenticalPayoffInterface::ComputeValueJPol(), BayesianGameIdenticalPayoff::ComputeValueJPol(), BGCG_SolverMaxPlus::Construct_JointType_Factors_CGBG(), BG_FactorGraphCreator::Construct_LocalJointType_Factors(), BG_FactorGraphCreator::Construct_LocalPayoff_Factors(), GMAA_MAAstarClassic::ConstructAndValuateNextPolicies(), BayesianGameIdenticalPayoffSolver::Evaluate(), GetProbability(), BayesianGameCollaborativeGraphical::GetProbability(), LocalBGValueFunctionBGCGWrapper::GetValue(), SanityCheckBGBase(), BayesianGameIdenticalPayoff::SaveTextFormat(), BayesianGameWithClusterInfo::ShiftProbabilityAndUtility(), BayesianGameIdenticalPayoff::SoftPrintUtilForJointType(), BGIP_SolverBFSNonIncremental< JP >::Solve(), BGIP_SolverBruteForceSearch< JP >::Solve(), BGIP_SolverCE::Solve(), BayesianGameWithClusterInfo::TestApproximateEquivalence(), and BayesianGameWithClusterInfo::TestExactEquivalence().
|
inlinevirtual |
Gets the probability of joint type corresponding to the individual type indices (indIndices)
References GetProbability(), and IndividualToJointTypeIndices().
|
inlinevirtual |
Converts individual action indices to a joint action index.
indivIndices is an array of size GetNrAgents()
Implements Interface_ProblemToPolicyDiscrete.
References IndexTools::IndividualToJointIndicesArrayStepSize().
Referenced by BGIP_SolverAlternatingMaximization< JP >::ComputeBestResponse(), BayesianGameWithClusterInfo::Extend(), BayesianGameIdenticalPayoff::GetUtility(), BayesianGameCollaborativeGraphical::JointToGroupActionIndex(), BayesianGameIdenticalPayoff::SetUtility(), and BGIP_SolverCE::Solve().
|
inlinevirtual |
Converts individual action indices to a joint action index.
Implements Interface_ProblemToPolicyDiscrete.
References IndexTools::IndividualToJointIndicesStepSize().
|
inline |
References IndexTools::IndividualToJointIndicesStepSize().
Referenced by AddProbability(), BayesianGameWithClusterInfo::BayesianGameWithClusterInfo(), BayesianGameWithClusterInfo::Cluster(), BayesianGameWithClusterInfo::ComputeMarginalTypeProbability(), GetProbability(), BayesianGameIdenticalPayoff::GetUtility(), BayesianGameCollaborativeGraphical::JointToGroupTypeIndex(), SetProbability(), BayesianGameIdenticalPayoff::SetUtility(), BayesianGameWithClusterInfo::ShiftProbabilityAndUtility(), BayesianGameWithClusterInfo::TestApproximateEquivalence(), and BayesianGameWithClusterInfo::TestExactEquivalence().
|
protected |
References _m_initialized, _m_JAoverflow, _m_jointToIndTypes, _m_jointToIndTypesMap, _m_JToverflow, _m_jTypeProbs, _m_jTypeProbsSparse, _m_nrActions, _m_nrAgents, _m_nrJA, _m_nrJTypes, _m_nrTypes, _m_stepSizeActions, _m_stepSizeTypes, _m_useSparse, IndexTools::CalculateStepSize(), and GetNrJointPolicies().
Referenced by BayesianGameBase(), ChangeNrActions(), and ChangeNrTypes().
References IndexTools::JointToIndividualIndicesStepSize().
Referenced by BGIP_SolverAlternatingMaximization< JP >::ComputeBestResponse(), BGCG_SolverMaxPlus::Construct_JointType_Factors_CGBG(), BG_FactorGraphCreator::Construct_LocalJointType_Factors(), and BayesianGameCollaborativeGraphical::JointToGroupActionIndex().
|
inlinevirtual |
implementation of JointToIndividualPolicyDomainIndices
(specified in the Interface_ProblemToPolicyDiscrete )
Implements Interface_ProblemToPolicyDiscrete.
References JointToIndividualTypeIndices(), and PolicyGlobals::TYPE_INDEX.
|
inlinevirtual |
implementation of JointToIndividualPolicyDomainIndicesRef
(specified in the Interface_ProblemToPolicyDiscrete )
Implements Interface_ProblemToPolicyDiscrete.
References JointToIndividualTypeIndices(), and PolicyGlobals::TYPE_INDEX.
|
inline |
References IndexTools::JointToIndividualIndices(), and ArgumentHandlers::size().
Referenced by BayesianGameWithClusterInfo::BayesianGameWithClusterInfo(), BGIP_SolverAlternatingMaximization< JP >::ComputeBestResponse(), BGCG_SolverMaxPlus::Construct_JointType_Factors_CGBG(), BG_FactorGraphCreator::Construct_LocalJointType_Factors(), GMAA_MAA_ELSI::ConstructBayesianGame(), BayesianGameCollaborativeGraphical::DistributeProbability(), BayesianGameWithClusterInfo::Extend(), BGIP_BnB_Node::GetImpliedJPol(), Problem_CGBG_FF::GetProbability(), BayesianGameCollaborativeGraphical::GetRestrictedJointTypeProbabilities(), LocalBGValueFunctionBGCGWrapper::GetValue(), BayesianGameForDecPOMDPStage::Initialize(), BayesianGameCollaborativeGraphical::JointToGroupTypeIndex(), JointToIndividualPolicyDomainIndices(), JointToIndividualPolicyDomainIndicesRef(), BayesianGameCollaborativeGraphical::SetProbabilityDistribution(), BayesianGameWithClusterInfo::SoftPrint(), and BGIP_BnB_Node::SoftPrintPartiallySpecifiedPolicy().
BayesianGameBase & BayesianGameBase::operator= | ( | const BayesianGameBase & | o | ) |
References _m_initialized, _m_jointToIndTypes, _m_jointToIndTypesMap, _m_jTypeProbs, _m_jTypeProbsSparse, _m_nrActions, _m_nrAgents, _m_nrJA, _m_nrJTypes, _m_nrTypes, _m_stepSizeActions, _m_stepSizeTypes, _m_useSparse, _m_verboseness, and IndexTools::CalculateStepSize().
Referenced by BayesianGameIdenticalPayoffInterface::operator=().
|
inline |
|
inlinevirtual |
Sanity check should be overriden by classes that do not use the implementation provided by this class (e.g.
CGBGs)
References SanityCheckBGBase().
Referenced by BayesianGameCollaborativeGraphical::SetProbabilityDistribution().
void BayesianGameBase::SanityCheckBGBase | ( | ) |
References _m_JToverflow, _m_jTypeProbs, _m_jTypeProbsSparse, _m_useSparse, Globals::EqualProbability(), and GetProbability().
Referenced by SanityCheck().
bool BayesianGameBase::SetInitialized | ( | bool | b | ) |
Sets the initialized status to b.
When setting to true - checks are performed to see if this is a consistent Bayesian Game.
References _m_initialized.
|
inline |
Sets the probability of joint type i to p.
Referenced by QPOMDP::ComputeRecursively(), GMAA_MAA_ELSI::ConstructBayesianGame(), BayesianGameCollaborativeGraphical::DistributeProbability(), BayesianGameWithClusterInfo::Extend(), BayesianGameIdenticalPayoff::GenerateRandomBG(), BayesianGameForDecPOMDPStage::Initialize(), BayesianGameIdenticalPayoff::LoadTextFormat(), SetProbability(), BayesianGameCollaborativeGraphical::SetProbabilityDistribution(), and BayesianGameWithClusterInfo::ShiftProbabilityAndUtility().
|
inline |
Sets the probability of joint type corresponding to the individual type indices (indIndices) to p.
References IndividualToJointTypeIndices(), and SetProbability().
string BayesianGameBase::SoftPrint | ( | void | ) | const |
Prints a description of this BayesianGameBase to a string.
References _m_jTypeProbs, _m_jTypeProbsSparse, _m_useSparse, SoftPrintSummary(), and PrintTools::SoftPrintVector().
Referenced by Print(), and BayesianGameIdenticalPayoff::SoftPrint().
Virtual function that has to be implemented by derived class.
This should return a string describing action actionI of agent agentI.
Implements Interface_ProblemToPolicyDiscrete.
|
virtual |
Virtual function that has to be implemented by derived class.
This should return a string describing element dIndex of the domain (e.g. an observation history) of agent agentI.
Implements Interface_ProblemToPolicyDiscrete.
References SoftPrintType(), and PolicyGlobals::TYPE_INDEX.
string BayesianGameBase::SoftPrintSummary | ( | ) | const |
References _m_nrActions, _m_nrAgents, _m_nrJA, _m_nrJTypes, _m_nrTypes, and PrintTools::SoftPrintVector().
Referenced by SoftPrint(), and BayesianGameCollaborativeGraphical::SoftPrintSummary().
Referenced by SoftPrintPolicyDomainElement().
|
protected |
private bool to indicate whether this BG is initialized.
Referenced by BayesianGameBase(), Initialize(), operator=(), and SetInitialized().
|
protected |
Boolean that indicates whether the number of joint actions can be represented by size_t (or that overflowing occurs)
Referenced by BayesianGameBase(), GetNrJointActions(), and Initialize().
|
private |
An joint type -> indiv. type indices cache:
Referenced by BayesianGameBase(), Initialize(), operator=(), and ~BayesianGameBase().
An joint type -> indiv. type indices cache:
Referenced by BayesianGameBase(), Initialize(), operator=(), and ~BayesianGameBase().
|
protected |
Boolean that indicates whether the number of joint types can be represented by size_t (or that overflowing occurs)
Referenced by BayesianGameBase(), GetNrJointTypes(), Initialize(), and SanityCheckBGBase().
|
private |
the probability distribution over joint types. A mapping from joint indices to probabilities
Referenced by GetProbability(), Initialize(), operator=(), SanityCheckBGBase(), and SoftPrint().
|
private |
Referenced by GetProbability(), Initialize(), operator=(), SanityCheckBGBase(), and SoftPrint().
|
protected |
the number of actions for each agent
Referenced by BayesianGameCollaborativeGraphical::AddLRF(), BayesianGameBase(), ChangeNrActions(), BayesianGameWithClusterInfo::Cluster(), GetNrActions(), Initialize(), operator=(), and SoftPrintSummary().
|
protected |
the number of players (or agents)
Referenced by BayesianGame::BayesianGame(), BayesianGameBase(), BayesianGameWithClusterInfo::Cluster(), Problem_CGBG_FF::ExportToTextFiles(), GetNrAgents(), Initialize(), operator=(), BayesianGame::Print(), and SoftPrintSummary().
|
protected |
the number of joint types:
Referenced by BayesianGame::BayesianGame(), BayesianGameBase(), BayesianGameIdenticalPayoff::BayesianGameIdenticalPayoff(), GetNrJointActions(), Initialize(), operator=(), BayesianGameIdenticalPayoff::SoftPrint(), SoftPrintSummary(), and BayesianGameIdenticalPayoff::SoftPrintUtilForJointType().
|
protected |
the number of joint actions:
Referenced by BayesianGame::BayesianGame(), BayesianGameBase(), BayesianGameIdenticalPayoff::BayesianGameIdenticalPayoff(), GetNrJointTypes(), Initialize(), operator=(), BayesianGameIdenticalPayoff::SoftPrint(), and SoftPrintSummary().
|
protected |
the number of types for each agent
Referenced by BayesianGameCollaborativeGraphical::AddLRF(), BayesianGameBase(), ChangeNrTypes(), BayesianGameWithClusterInfo::ComputeMarginalTypeProbability(), GetNrPolicyDomainElements(), GetNrTypes(), Initialize(), operator=(), BayesianGameWithClusterInfo::ShiftProbabilityAndUtility(), SoftPrintSummary(), BayesianGameWithClusterInfo::TestApproximateEquivalence(), and BayesianGameWithClusterInfo::TestExactEquivalence().
|
protected |
an size_t array that caches the stepsize array for actions:
Referenced by BayesianGameBase(), Initialize(), operator=(), and ~BayesianGameBase().
|
protected |
an size_t array that caches the stepsize array for types:
Referenced by BayesianGameBase(), Initialize(), operator=(), and ~BayesianGameBase().
|
private |
Referenced by GetProbability(), Initialize(), operator=(), SanityCheckBGBase(), and SoftPrint().
|
protected |
_m_verboseness >0 verbose, <0 is quiet
Referenced by operator=().