MultiAgentDecisionProcess
MaxPlusSolverForBGs Class Reference

MaxPlusSolverForBGs solves BG via Max Plus. More...

#include <MaxPlusSolverForBGs.h>

Inheritance diagram for MaxPlusSolverForBGs:
[legend]

Public Member Functions

 MaxPlusSolverForBGs (size_t maxiter=1000, std::string updateType=std::string("PARALL"), int verbosity=2, double damping=0.0, size_t nrSolutions=1, size_t nrRestarts=1)
 (default) Constructor More...
 
- Public Member Functions inherited from MaxPlusSolver
 MaxPlusSolver (size_t maxiter=1000, std::string updateType=std::string("PARALL"), int verbosity=2, double damping=0.0, size_t nrSolutions=1, size_t nrRestarts=1)
 (default) Constructor More...
 

Static Public Member Functions

static void Construct_AgentTypePair_Variables (const boost::shared_ptr< const BayesianGameIdenticalPayoffInterface > &bgip, vector< vector< Index > > &var_indices, vector< libDAI::Var > &vars, int verbosity)
 
static void Construct_JointType_Factors (const boost::shared_ptr< const BayesianGameIdenticalPayoffInterface > &bgip, const vector< vector< Index > > &var_indices, const vector< libDAI::Var > &vars, vector< libDAI::Factor > &facs, int verbosity)
 

Additional Inherited Members

- Protected Attributes inherited from MaxPlusSolver
double _m_damping
 stores the damping factor More...
 
size_t _m_maxiter
 stores the MaxPlus parameter for the max. number of iterations More...
 
size_t _m_nrRestarts
 stores the number of restarts (for non-deterministic Max-Plus variants) More...
 
size_t _m_nrSolutions
 stores the (desired) number of solutions More...
 
std::string _m_updateType
 stores the MaxPlus parameter for the update type More...
 
int _m_verbosity
 stores the MaxPlus parameter for the verbosity level More...
 

Detailed Description

MaxPlusSolverForBGs solves BG via Max Plus.

Constructor & Destructor Documentation

MaxPlusSolverForBGs::MaxPlusSolverForBGs ( size_t  maxiter = 1000,
std::string  updateType = std::string("PARALL"),
int  verbosity = 2,
double  damping = 0.0,
size_t  nrSolutions = 1,
size_t  nrRestarts = 1 
)

(default) Constructor

Member Function Documentation

void MaxPlusSolverForBGs::Construct_AgentTypePair_Variables ( const boost::shared_ptr< const BayesianGameIdenticalPayoffInterface > &  bgip,
vector< vector< Index > > &  var_indices,
vector< libDAI::Var > &  vars,
int  verbosity 
)
static
void MaxPlusSolverForBGs::Construct_JointType_Factors ( const boost::shared_ptr< const BayesianGameIdenticalPayoffInterface > &  bgip,
const vector< vector< Index > > &  var_indices,
const vector< libDAI::Var > &  vars,
vector< libDAI::Factor > &  facs,
int  verbosity 
)
static