g2o
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
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.

48 : name(),
49 desc(),
50 type(),
52 poseDim(-1),
53 landmarkDim(-1) {}
std::string type
type of solver, e.g., "CSparse Cholesky", "PCG"
int poseDim
dimension of the pose vertices (-1 if variable)
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

◆ 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.

59 : name(name_),
60 desc(desc_),
61 type(type_),
62 requiresMarginalize(requiresMarginalize_),
63 poseDim(poseDim_),
64 landmarkDim(landmarkDim_) {}

Member Data Documentation

◆ desc

std::string g2o::OptimizationAlgorithmProperty::desc

short description of the solver

Definition at line 41 of file optimization_algorithm_property.h.

Referenced by g2o::OptimizationAlgorithmFactory::listSolvers(), and MainWindow::load().

◆ 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::SparseOptimizer::discardTop(), and MainWindow::prepare().

◆ name

std::string g2o::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::SparseOptimizer::discardTop().

◆ 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::SparseOptimizer::discardTop(), main(), and MainWindow::prepare().

◆ type

std::string g2o::OptimizationAlgorithmProperty::type

type of solver, e.g., "CSparse Cholesky", "PCG"

Definition at line 42 of file optimization_algorithm_property.h.

Referenced by g2o::OptimizationAlgorithmFactory::listSolvers(), and MainWindow::updateDisplayedSolvers().


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