g2o
|
base for allocating an optimization algorithm More...
#include <optimization_algorithm_factory.h>
Public Member Functions | |
AbstractOptimizationAlgorithmCreator (const OptimizationAlgorithmProperty &p) | |
virtual | ~AbstractOptimizationAlgorithmCreator () |
virtual OptimizationAlgorithm * | construct ()=0 |
allocate a solver operating on optimizer, re-implement for your creator More... | |
const OptimizationAlgorithmProperty & | property () const |
return the properties of the solver More... | |
Protected Attributes | |
OptimizationAlgorithmProperty | _property |
base for allocating an optimization algorithm
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 55 of file optimization_algorithm_factory.h.
g2o::AbstractOptimizationAlgorithmCreator::AbstractOptimizationAlgorithmCreator | ( | const OptimizationAlgorithmProperty & | p | ) |
Definition at line 37 of file optimization_algorithm_factory.cpp.
References g2o::OptimizationAlgorithmFactory::factoryInstance.
|
inlinevirtual |
Definition at line 59 of file optimization_algorithm_factory.h.
|
pure virtual |
allocate a solver operating on optimizer, re-implement for your creator
Implemented in g2o::CholmodSolverCreator, g2o::CSparseSolverCreator, g2o::EigenSolverCreator, g2o::DenseSolverCreator, g2o::PCGSolverCreator, g2o::SLAM2DLinearSolverCreator, and g2o::StructureOnlyCreator.
|
inline |
return the properties of the solver
Definition at line 63 of file optimization_algorithm_factory.h.
Referenced by g2o::StructureOnlyCreator::construct(), g2o::SLAM2DLinearSolverCreator::construct(), g2o::RegisterOptimizationAlgorithmProxy::RegisterOptimizationAlgorithmProxy(), g2o::OptimizationAlgorithmFactory::registerSolver(), and g2o::OptimizationAlgorithmFactory::unregisterSolver().
|
protected |
Definition at line 65 of file optimization_algorithm_factory.h.