MultiAgentDecisionProcess
BGIP_SolverCreator_MP< JP > Class Template Reference

BGIP_SolverCreatorInterface_T_MP creates BGIP Solvers with Max Plus. More...

#include <BGIP_SolverCreator_MP.h>

Inheritance diagram for BGIP_SolverCreator_MP< JP >:
[legend]

Public Member Functions

 BGIP_SolverCreator_MP (size_t maxiter=25, const std::string &updateT=std::string("PARALL"), size_t verbose=1, double damping=0.0, size_t nrSolutions=1, size_t nrRestarts=10)
 (default) Constructor More...
 
bool IsExactSolver () const
 Methods should indicated whether they compute exact (optimal) solutions or not. More...
 
BGIP_SolverMaxPlus< 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...
 
- Public Member Functions inherited from BGIP_SolverCreatorInterface_T< JP >
virtual ~BGIP_SolverCreatorInterface_T ()
 (default) Constructor More...
 
- Public Member Functions inherited from BGIP_SolverCreatorInterface
virtual ~BGIP_SolverCreatorInterface ()
 (default) Constructor More...
 

Private Attributes

double _m_damping
 
size_t _m_maxiter
 
size_t _m_nrRestarts
 
size_t _m_nrSolutions
 
std::string _m_updateType
 
size_t _m_verbose
 

Detailed Description

template<class JP>
class BGIP_SolverCreator_MP< JP >

BGIP_SolverCreatorInterface_T_MP creates BGIP Solvers with Max Plus.

Constructor & Destructor Documentation

template<class JP >
BGIP_SolverCreator_MP< JP >::BGIP_SolverCreator_MP ( size_t  maxiter = 25,
const std::string &  updateT = std::string("PARALL"),
size_t  verbose = 1,
double  damping = 0.0,
size_t  nrSolutions = 1,
size_t  nrRestarts = 10 
)
inline

(default) Constructor

Member Function Documentation

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

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

Implements BGIP_SolverCreatorInterface_T< JP >.

template<class JP >
BGIP_SolverMaxPlus<JP>* BGIP_SolverCreator_MP< JP >::operator() ( const boost::shared_ptr< const BayesianGameIdenticalPayoffInterface > &  bg) const
inlinevirtual

Returns a pointer to a new BGIP solver object.

Implements BGIP_SolverCreatorInterface_T< JP >.

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

Returns a description of the solver creator.

Implements BGIP_SolverCreatorInterface_T< JP >.

References BGIP_SolverCreator_MP< JP >::_m_nrRestarts.

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

Returns a brief description of the solver creator.

Implements BGIP_SolverCreatorInterface_T< JP >.

References BGIP_SolverCreator_MP< JP >::_m_nrRestarts.

Member Data Documentation

template<class JP >
double BGIP_SolverCreator_MP< JP >::_m_damping
private
template<class JP >
size_t BGIP_SolverCreator_MP< JP >::_m_maxiter
private
template<class JP >
size_t BGIP_SolverCreator_MP< JP >::_m_nrRestarts
private
template<class JP >
size_t BGIP_SolverCreator_MP< JP >::_m_nrSolutions
private
template<class JP >
std::string BGIP_SolverCreator_MP< JP >::_m_updateType
private
template<class JP >
size_t BGIP_SolverCreator_MP< JP >::_m_verbose
private