g2o
Loading...
Searching...
No Matches
g2o::OptimizationAlgorithmProperty Struct Reference

describe the properties of a solver More...

#include <optimization_algorithm_property.h>

Public Member Functions

 OptimizationAlgorithmProperty ()
 OptimizationAlgorithmProperty (const std::string &name_, const std::string &desc_, const std::string &type_, bool requiresMarginalize_, int poseDim_, int landmarkDim_)

Public Attributes

std::string name
 name of the solver, e.g., var
std::string desc
 short description of the solver
std::string type
 type of solver, e.g., "CSparse Cholesky", "PCG"
bool requiresMarginalize
int poseDim
 dimension of the pose vertices (-1 if variable)
int landmarkDim
 dimension of the landmark vertices (-1 if variable)

Detailed Description

describe the properties of a solver

Definition at line 39 of file optimization_algorithm_property.h.

Constructor & Destructor Documentation

◆ OptimizationAlgorithmProperty() [1/2]

g2o::OptimizationAlgorithmProperty::OptimizationAlgorithmProperty ( )
inline

Definition at line 47 of file optimization_algorithm_property.h.

References desc, landmarkDim, name, poseDim, requiresMarginalize, and type.

◆ OptimizationAlgorithmProperty() [2/2]

g2o::OptimizationAlgorithmProperty::OptimizationAlgorithmProperty ( const std::string & name_,
const std::string & desc_,
const std::string & type_,
bool requiresMarginalize_,
int poseDim_,
int landmarkDim_ )
inline

Definition at line 54 of file optimization_algorithm_property.h.

References desc, landmarkDim, name, poseDim, requiresMarginalize, and type.

Member Data Documentation

◆ desc

std::string g2o::OptimizationAlgorithmProperty::desc

◆ landmarkDim

int g2o::OptimizationAlgorithmProperty::landmarkDim

dimension of the landmark vertices (-1 if variable)

Definition at line 46 of file optimization_algorithm_property.h.

Referenced by g2o::OptimizableGraph::isSolverSuitable(), OptimizationAlgorithmProperty(), and OptimizationAlgorithmProperty().

◆ name

◆ poseDim

int g2o::OptimizationAlgorithmProperty::poseDim

dimension of the pose vertices (-1 if variable)

Definition at line 45 of file optimization_algorithm_property.h.

Referenced by g2o::OptimizableGraph::isSolverSuitable(), OptimizationAlgorithmProperty(), and OptimizationAlgorithmProperty().

◆ requiresMarginalize

bool g2o::OptimizationAlgorithmProperty::requiresMarginalize

whether the solver requires marginalization of landmarks

Definition at line 43 of file optimization_algorithm_property.h.

Referenced by g2o::OptimizableGraph::isSolverSuitable(), main(), OptimizationAlgorithmProperty(), and OptimizationAlgorithmProperty().

◆ type

std::string g2o::OptimizationAlgorithmProperty::type

The documentation for this struct was generated from the following file: