MultiAgentDecisionProcess
BGCG_SolverCreator_Random Class Reference

BGCG_SolverCreator_Random creates a BGCG Solver that gives random solutions. More...

#include <BGCG_SolverCreator_Random.h>

Inheritance diagram for BGCG_SolverCreator_Random:
[legend]

Public Member Functions

 BGCG_SolverCreator_Random (size_t verbose=1, size_t nrSolutions=1)
 (default) Constructor More...
 
BGCG_SolverRandomCreate_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

size_t _m_nrSolutions
 
size_t _m_verbose
 

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_Random creates a BGCG Solver that gives random solutions.

Constructor & Destructor Documentation

BGCG_SolverCreator_Random::BGCG_SolverCreator_Random ( size_t  verbose = 1,
size_t  nrSolutions = 1 
)
inline

(default) Constructor

Member Function Documentation

BGCG_SolverRandom* BGCG_SolverCreator_Random::Create_BGCG_Solver ( const boost::shared_ptr< const BayesianGameCollaborativeGraphical > &  bgcg) const
inlinevirtual

(default) Constructor

Implements BGCG_SolverCreator.

bool BGCG_SolverCreator_Random::IsExactSolver ( ) const
inlinevirtual

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

Implements BGIP_SolverCreatorInterface.

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

Returns a description of the solver creator.

Implements BGCG_SolverCreator.

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

Returns a brief description of the solver creator.

Implements BGIP_SolverCreatorInterface.

References _m_nrSolutions.

Member Data Documentation

size_t BGCG_SolverCreator_Random::_m_nrSolutions
private

Referenced by SoftPrintBrief().

size_t BGCG_SolverCreator_Random::_m_verbose
private