MultiAgentDecisionProcess
BGIP_SolverCreator_BnB< JP > Class Template Reference

BGIP_SolverCreator_BnB creates BGIP Solvers with Branch-and-Bound search. More...

#include <BGIP_SolverCreator_BnB.h>

Inheritance diagram for BGIP_SolverCreator_BnB< JP >:
[legend]

Public Member Functions

 BGIP_SolverCreator_BnB (int verbose=0, size_t nrSolutions=1, bool keepAll=false, BGIP_BnB::BnB_JointTypeOrdering ordering=BGIP_BnB::IdentityMapping, bool reComputeHeur=false, double deadlineInSeconds=0)
 (default) Constructor More...
 
bool IsExactSolver () const
 Methods should indicated whether they compute exact (optimal) solutions or not. More...
 
BGIP_SolverBranchAndBound< 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_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
 
BGIP_BnB::BnB_JointTypeOrdering _m_jtOrdering
 
bool _m_keepAll
 
size_t _m_nrSolutions
 
bool _m_reComputeH
 
int _m_verbose
 

Detailed Description

template<class JP>
class BGIP_SolverCreator_BnB< JP >

BGIP_SolverCreator_BnB creates BGIP Solvers with Branch-and-Bound search.

Constructor & Destructor Documentation

template<class JP >
BGIP_SolverCreator_BnB< JP >::BGIP_SolverCreator_BnB ( int  verbose = 0,
size_t  nrSolutions = 1,
bool  keepAll = false,
BGIP_BnB::BnB_JointTypeOrdering  ordering = BGIP_BnB::IdentityMapping,
bool  reComputeHeur = false,
double  deadlineInSeconds = 0 
)
inline

(default) Constructor

Member Function Documentation

template<class JP >
bool BGIP_SolverCreator_BnB< 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_BnB< JP >::SoftPrint ( ) const
inlinevirtual

Returns a description of the solver creator.

Implements BGIP_IncrementalSolverCreatorInterface_T< JP >.

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

Returns a brief description of the solver creator.

Implements BGIP_IncrementalSolverCreatorInterface_T< JP >.

References BGIP_SolverCreator_BnB< JP >::_m_reComputeH, and BGIP_BnB::SoftPrint().

Member Data Documentation

template<class JP >
double BGIP_SolverCreator_BnB< JP >::_m_deadlineInSeconds
private
template<class JP >
BGIP_BnB::BnB_JointTypeOrdering BGIP_SolverCreator_BnB< JP >::_m_jtOrdering
private
template<class JP >
bool BGIP_SolverCreator_BnB< JP >::_m_keepAll
private
template<class JP >
size_t BGIP_SolverCreator_BnB< JP >::_m_nrSolutions
private
template<class JP >
bool BGIP_SolverCreator_BnB< JP >::_m_reComputeH
private
template<class JP >
int BGIP_SolverCreator_BnB< JP >::_m_verbose
private