40 if (fullSolverName ==
"structure_only_2") {
42 return optimizationAlgo;
44 else if (fullSolverName ==
"structure_only_3") {
46 return optimizationAlgo;
describe the properties of a solver
static OptimizationAlgorithm * createSolver(const std::string &solverName)
const OptimizationAlgorithmProperty & property() const
return the properties of the solver
virtual OptimizationAlgorithm * construct()
allocate a solver operating on optimizer, re-implement for your creator
G2O_REGISTER_OPTIMIZATION_LIBRARY(cholmod)
This is a solver for "structure-only" optimization".
StructureOnlyCreator(const OptimizationAlgorithmProperty &p)
base for allocating an optimization algorithm
Generic interface for a non-linear solver operating on a graph.
G2O_REGISTER_OPTIMIZATION_ALGORITHM(gn_var_cholmod, new CholmodSolverCreator(OptimizationAlgorithmProperty("gn_var_cholmod","Gauss-Newton: Cholesky solver using CHOLMOD (variable blocksize)","CHOLMOD", false, Eigen::Dynamic, Eigen::Dynamic)))