27 #ifndef G2O_OPTIMIZATION_ALGORITHM_PROPERTY_H 28 #define G2O_OPTIMIZATION_ALGORITHM_PROPERTY_H 46 name(), desc(), type(), requiresMarginalize(false), poseDim(-1), landmarkDim(-1)
49 OptimizationAlgorithmProperty(
const std::string& name_,
const std::string& desc_,
const std::string& type_,
bool requiresMarginalize_,
int poseDim_,
int landmarkDim_) :
50 name(name_), desc(desc_), type(type_), requiresMarginalize(requiresMarginalize_), poseDim(poseDim_), landmarkDim(landmarkDim_)
std::string name
name of the solver, e.g., var
describe the properties of a solver
int landmarkDim
dimension of the landmar vertices (-1 if variable)
OptimizationAlgorithmProperty(const std::string &name_, const std::string &desc_, const std::string &type_, bool requiresMarginalize_, int poseDim_, int landmarkDim_)
bool requiresMarginalize
whether the solver requires marginalization of landmarks
std::string desc
short description of the solver
OptimizationAlgorithmProperty()
int poseDim
dimension of the pose vertices (-1 if variable)
std::string type
type of solver, e.g., "CSparse Cholesky", "PCG"