base for allocating a solver More...
#include <solver_factory.h>
Public Member Functions | |
AbstractSolverCreator (const SolverProperty &p) | |
virtual Solver * | construct (SparseOptimizer *optimizer)=0 |
allocate a solver operating on optimizer, re-implement for your creator | |
const SolverProperty & | property () const |
return the properties of the solver | |
Protected Attributes | |
SolverProperty | _property |
base for allocating a solver
Allocating a solver for a given optimizer. The method construct() has to be implemented in your derived class to allocate the desired solver.
Definition at line 36 of file solver_factory.h.
Definition at line 27 of file solver_factory.cpp.
virtual Solver* g2o::AbstractSolverCreator::construct | ( | SparseOptimizer * | optimizer | ) | [pure virtual] |
allocate a solver operating on optimizer, re-implement for your creator
Implemented in g2o::CSparseSolverCreator, g2o::CholmodSolverCreator, g2o::DenseSolverCreator, and g2o::PCGSolverCreator.
const SolverProperty& g2o::AbstractSolverCreator::property | ( | ) | const [inline] |
return the properties of the solver
Definition at line 43 of file solver_factory.h.
SolverProperty g2o::AbstractSolverCreator::_property [protected] |
Definition at line 45 of file solver_factory.h.