MultiAgentDecisionProcess
BGIP_SolverCreator_AM< JP > Class Template Reference

BGIP_SolverCreator_AM creates BGIP Solvers with Alternating Maximization. More...

#include <BGIP_SolverCreator_AM.h>

Inheritance diagram for BGIP_SolverCreator_AM< JP >:
[legend]

Public Member Functions

 BGIP_SolverCreator_AM (size_t nrRestarts=10, int verbose=0, size_t nrSolutions=1, double deadlineInSeconds=0)
 (default) Constructor More...
 
bool IsExactSolver () const
 Methods should indicated whether they compute exact (optimal) solutions or not. More...
 
BGIP_SolverAlternatingMaximization
< JP > * 
operator() (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_AM ()
 
- Public Member Functions inherited from BGIP_IncrementalSolverCreatorInterface_T< JP >
virtual ~BGIP_IncrementalSolverCreatorInterface_T ()
 (default) Constructor More...
 
- Public Member Functions inherited from BGIP_SolverCreatorInterface
virtual ~BGIP_SolverCreatorInterface ()
 (default) Constructor More...
 

Private Attributes

double _m_deadlineInSeconds
 
size_t _m_nrRestarts
 
size_t _m_nrSolutions
 
int _m_verbose
 

Detailed Description

template<class JP>
class BGIP_SolverCreator_AM< JP >

BGIP_SolverCreator_AM creates BGIP Solvers with Alternating Maximization.

Constructor & Destructor Documentation

template<class JP >
BGIP_SolverCreator_AM< JP >::BGIP_SolverCreator_AM ( size_t  nrRestarts = 10,
int  verbose = 0,
size_t  nrSolutions = 1,
double  deadlineInSeconds = 0 
)
inline

(default) Constructor

template<class JP >
virtual BGIP_SolverCreator_AM< JP >::~BGIP_SolverCreator_AM ( )
inlinevirtual

Member Function Documentation

template<class JP >
bool BGIP_SolverCreator_AM< JP >::IsExactSolver ( ) const
inlinevirtual

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

Implements BGIP_IncrementalSolverCreatorInterface_T< JP >.

template<class JP >
std::string BGIP_SolverCreator_AM< JP >::SoftPrint ( ) const
inlinevirtual

Returns a description of the solver creator.

Implements BGIP_IncrementalSolverCreatorInterface_T< JP >.

References BGIP_SolverCreator_AM< JP >::_m_nrRestarts.

template<class JP >
std::string BGIP_SolverCreator_AM< JP >::SoftPrintBrief ( ) const
inlinevirtual

Returns a brief description of the solver creator.

Implements BGIP_IncrementalSolverCreatorInterface_T< JP >.

References BGIP_SolverCreator_AM< JP >::_m_nrRestarts.

Member Data Documentation

template<class JP >
double BGIP_SolverCreator_AM< JP >::_m_deadlineInSeconds
private
template<class JP >
size_t BGIP_SolverCreator_AM< JP >::_m_nrSolutions
private
template<class JP >
int BGIP_SolverCreator_AM< JP >::_m_verbose
private