MultiAgentDecisionProcess
BGIP_SolverCreator_Random Class Reference

BGIP_SolverCreator_Random creates a BGIP Solver that gives random solutions. More...

#include <BGIP_SolverCreator_Random.h>

Inheritance diagram for BGIP_SolverCreator_Random:
[legend]

Public Member Functions

 BGIP_SolverCreator_Random (int verbose=0, size_t nrSolutions=1)
 (default) Constructor More...
 
bool IsExactSolver () const
 Methods should indicated whether they compute exact (optimal) solutions or not. More...
 
BGIP_SolverRandomoperator() (const boost::shared_ptr< const BayesianGameIdenticalPayoffInterface > &bg) const
 Returns a pointer to a new BGIP solver object. 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...
 
virtual ~BGIP_SolverCreator_Random ()
 
- Public Member Functions inherited from BGIP_SolverCreatorInterface_T< JointPolicyPureVector >
virtual ~BGIP_SolverCreatorInterface_T ()
 (default) Constructor More...
 
- Public Member Functions inherited from BGIP_SolverCreatorInterface
virtual ~BGIP_SolverCreatorInterface ()
 (default) Constructor More...
 

Private Attributes

size_t _m_nrSolutions
 
int _m_verbose
 

Detailed Description

BGIP_SolverCreator_Random creates a BGIP Solver that gives random solutions.

Constructor & Destructor Documentation

BGIP_SolverCreator_Random::BGIP_SolverCreator_Random ( int  verbose = 0,
size_t  nrSolutions = 1 
)
inline

(default) Constructor

virtual BGIP_SolverCreator_Random::~BGIP_SolverCreator_Random ( )
inlinevirtual

Member Function Documentation

bool BGIP_SolverCreator_Random::IsExactSolver ( ) const
inlinevirtual

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

Implements BGIP_SolverCreatorInterface_T< JointPolicyPureVector >.

BGIP_SolverRandom* BGIP_SolverCreator_Random::operator() ( const boost::shared_ptr< const BayesianGameIdenticalPayoffInterface > &  bg) const
inlinevirtual

Returns a pointer to a new BGIP solver object.

Implements BGIP_SolverCreatorInterface_T< JointPolicyPureVector >.

std::string BGIP_SolverCreator_Random::SoftPrint ( void  ) const
inlinevirtual

Returns a description of the solver creator.

Implements BGIP_SolverCreatorInterface_T< JointPolicyPureVector >.

std::string BGIP_SolverCreator_Random::SoftPrintBrief ( void  ) const
inlinevirtual

Returns a brief description of the solver creator.

Implements BGIP_SolverCreatorInterface_T< JointPolicyPureVector >.

References _m_nrSolutions.

Member Data Documentation

size_t BGIP_SolverCreator_Random::_m_nrSolutions
private

Referenced by SoftPrintBrief().

int BGIP_SolverCreator_Random::_m_verbose
private