MultiAgentDecisionProcess
BGIP_SolverCreator_CE Class Reference

BGIP_SolverCreator_CE creates BGIP Solvers with Cross Entropy. More...

#include <BGIP_SolverCreator_CE.h>

Inheritance diagram for BGIP_SolverCreator_CE:
[legend]

Public Member Functions

 BGIP_SolverCreator_CE (size_t nrCERestarts=10, size_t nrIterations=30, size_t nrSamples=40, size_t nrSamplesForUpdate=15, bool use_hard_threshold=true, double CEalpha=0.3, double deadlineInSeconds=0)
 (default) Constructor More...
 
bool IsExactSolver () const
 Methods should indicated whether they compute exact (optimal) solutions or not. More...
 
BGIP_SolverCEoperator() (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_CE ()
 
- 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

double _m_alpha
 
double _m_deadlineInSeconds
 
size_t _m_nrIterations
 
size_t _m_nrJointPoliciesForUpdate
 
size_t _m_nrRestarts
 
size_t _m_nrSampledJointPolicies
 
bool _m_use_gamma
 

Detailed Description

BGIP_SolverCreator_CE creates BGIP Solvers with Cross Entropy.

Constructor & Destructor Documentation

BGIP_SolverCreator_CE::BGIP_SolverCreator_CE ( size_t  nrCERestarts = 10,
size_t  nrIterations = 30,
size_t  nrSamples = 40,
size_t  nrSamplesForUpdate = 15,
bool  use_hard_threshold = true,
double  CEalpha = 0.3,
double  deadlineInSeconds = 0 
)
inline

(default) Constructor

virtual BGIP_SolverCreator_CE::~BGIP_SolverCreator_CE ( )
inlinevirtual

Member Function Documentation

bool BGIP_SolverCreator_CE::IsExactSolver ( ) const
inlinevirtual

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

Implements BGIP_SolverCreatorInterface_T< JointPolicyPureVector >.

BGIP_SolverCE* BGIP_SolverCreator_CE::operator() ( const boost::shared_ptr< const BayesianGameIdenticalPayoffInterface > &  bg) const
inlinevirtual

Returns a pointer to a new BGIP solver object.

Implements BGIP_SolverCreatorInterface_T< JointPolicyPureVector >.

References BayesianGameIdenticalPayoffSolver::SetDeadline().

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

Returns a description of the solver creator.

Implements BGIP_SolverCreatorInterface_T< JointPolicyPureVector >.

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

Returns a brief description of the solver creator.

Implements BGIP_SolverCreatorInterface_T< JointPolicyPureVector >.

References _m_use_gamma.

Member Data Documentation

double BGIP_SolverCreator_CE::_m_alpha
private
double BGIP_SolverCreator_CE::_m_deadlineInSeconds
private
size_t BGIP_SolverCreator_CE::_m_nrIterations
private
size_t BGIP_SolverCreator_CE::_m_nrJointPoliciesForUpdate
private
size_t BGIP_SolverCreator_CE::_m_nrRestarts
private
size_t BGIP_SolverCreator_CE::_m_nrSampledJointPolicies
private
bool BGIP_SolverCreator_CE::_m_use_gamma
private

Referenced by SoftPrintBrief().