MultiAgentDecisionProcess
BGCG_SolverCreator_FG Class Reference

BGCG_SolverCreator_FG creates BGCG Solvers with Max Plus. More...

#include <BGCG_SolverCreator_FG.h>

Inheritance diagram for BGCG_SolverCreator_FG:
[legend]

Public Member Functions

 BGCG_SolverCreator_FG (BG_FactorGraphCreator::BGFactorGraph_t FGt=BG_FactorGraphCreator::AgentTypeIndependence, FG_Solver::FG_Solver_t FGSt=FG_Solver::FGSt_MaxPlus, size_t nrSolutions=1, int verbose=2, double deadlineInSeconds=0, size_t maxiter=25, const std::string &updateT=std::string("PARALL"), double damping=0.0, size_t nrRestarts=10, bool exploitSparseness=false)
 (default) Constructor More...
 
BGCG_SolverFGCreate_BGCG_Solver (const boost::shared_ptr< const BayesianGameCollaborativeGraphical > &bg) const
 (default) Constructor More...
 
bool IsExactSolver () const
 Methods should indicated whether they compute exact (optimal) solutions or not. More...
 
std::string SoftPrint () const
 Returns a description of the solver creator. More...
 
std::string SoftPrintBrief () const
 Returns a brief description of the solver creator. More...
 
- Public Member Functions inherited from BGIP_SolverCreatorInterface
virtual
BayesianGameIdenticalPayoffSolver
operator() (const boost::shared_ptr< const BayesianGameIdenticalPayoffInterface > &bg) const =0
 Returns a pointer to a new BGIP solver object. More...
 
virtual ~BGIP_SolverCreatorInterface ()
 (default) Constructor More...
 

Private Attributes

double _m_damping
 
double _m_deadlineInSeconds
 
bool _m_exploitSparse
 Do we want to exploit sparseness of joint type space? More...
 
FG_Solver::FG_Solver_t _m_FGSt
 
BG_FactorGraphCreator::BGFactorGraph_t _m_FGt
 
size_t _m_maxiter
 
size_t _m_nrRestarts
 
size_t _m_nrSolutions
 
std::string _m_updateType
 
int _m_verbosity
 

Additional Inherited Members

- Public Attributes inherited from BGCG_SolverCreator
virtual
BayesianGameIdenticalPayoffSolver
*operator()(const boost
BayesianGameIdenticalPayoffSolver
temp = this->Create_BGCG_Solver(bgcg)
 
return temp
 

Detailed Description

BGCG_SolverCreator_FG creates BGCG Solvers with Max Plus.

Constructor & Destructor Documentation

BGCG_SolverCreator_FG::BGCG_SolverCreator_FG ( BG_FactorGraphCreator::BGFactorGraph_t  FGt = BG_FactorGraphCreator::AgentTypeIndependence,
FG_Solver::FG_Solver_t  FGSt = FG_Solver::FGSt_MaxPlus,
size_t  nrSolutions = 1,
int  verbose = 2,
double  deadlineInSeconds = 0,
size_t  maxiter = 25,
const std::string &  updateT = std::string("PARALL"),
double  damping = 0.0,
size_t  nrRestarts = 10,
bool  exploitSparseness = false 
)
inline

(default) Constructor

Member Function Documentation

BGCG_SolverFG* BGCG_SolverCreator_FG::Create_BGCG_Solver ( const boost::shared_ptr< const BayesianGameCollaborativeGraphical > &  bgcg) const
inlinevirtual
bool BGCG_SolverCreator_FG::IsExactSolver ( ) const
inlinevirtual

Methods should indicated whether they compute exact (optimal) solutions or not.

Implements BGIP_SolverCreatorInterface.

std::string BGCG_SolverCreator_FG::SoftPrint ( ) const
inlinevirtual

Returns a description of the solver creator.

Implements BGCG_SolverCreator.

References _m_nrRestarts, FG_Solver::SoftPrint(), and BG_FactorGraphCreator::SoftPrint().

std::string BGCG_SolverCreator_FG::SoftPrintBrief ( ) const
inlinevirtual

Returns a brief description of the solver creator.

Implements BGIP_SolverCreatorInterface.

References _m_nrRestarts, _m_nrSolutions, FG_Solver::FGSt_MaxPlus, FG_Solver::SoftPrint(), and BG_FactorGraphCreator::SoftPrint().

Member Data Documentation

double BGCG_SolverCreator_FG::_m_damping
private
double BGCG_SolverCreator_FG::_m_deadlineInSeconds
private
bool BGCG_SolverCreator_FG::_m_exploitSparse
private

Do we want to exploit sparseness of joint type space?

FG_Solver::FG_Solver_t BGCG_SolverCreator_FG::_m_FGSt
private
BG_FactorGraphCreator::BGFactorGraph_t BGCG_SolverCreator_FG::_m_FGt
private
size_t BGCG_SolverCreator_FG::_m_maxiter
private
size_t BGCG_SolverCreator_FG::_m_nrRestarts
private

Referenced by SoftPrint(), and SoftPrintBrief().

size_t BGCG_SolverCreator_FG::_m_nrSolutions
private

Referenced by SoftPrintBrief().

std::string BGCG_SolverCreator_FG::_m_updateType
private
int BGCG_SolverCreator_FG::_m_verbosity
private