27#ifndef G2O_OPTIMIZATION_ALGORITHM_PROPERTY_H
28#define G2O_OPTIMIZATION_ALGORITHM_PROPERTY_H
51 requiresMarginalize(false),
55 const std::string& desc_,
56 const std::string& type_,
57 bool requiresMarginalize_,
int poseDim_,
62 requiresMarginalize(requiresMarginalize_),
64 landmarkDim(landmarkDim_) {}
describe the properties of a solver
std::string type
type of solver, e.g., "CSparse Cholesky", "PCG"
int poseDim
dimension of the pose vertices (-1 if variable)
OptimizationAlgorithmProperty()
OptimizationAlgorithmProperty(const std::string &name_, const std::string &desc_, const std::string &type_, bool requiresMarginalize_, int poseDim_, int landmarkDim_)
std::string desc
short description of the solver
int landmarkDim
dimension of the landmark vertices (-1 if variable)
std::string name
name of the solver, e.g., var