g2o
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 More...
 
std::string desc
 short description of the solver More...
 
std::string type
 type of solver, e.g., "CSparse Cholesky", "PCG" More...
 
bool requiresMarginalize
 whether the solver requires marginalization of landmarks More...
 
int poseDim
 dimension of the pose vertices (-1 if variable) More...
 
int landmarkDim
 dimension of the landmar vertices (-1 if variable) More...
 

Detailed Description

describe the properties of a solver

Definition at line 39 of file optimization_algorithm_property.h.

Constructor & Destructor Documentation

g2o::OptimizationAlgorithmProperty::OptimizationAlgorithmProperty ( )
inline

Definition at line 47 of file optimization_algorithm_property.h.

47  :
48  name(), desc(), type(), requiresMarginalize(false), poseDim(-1), landmarkDim(-1)
49  {
50  }
std::string name
name of the solver, e.g., var
int landmarkDim
dimension of the landmar vertices (-1 if variable)
bool requiresMarginalize
whether the solver requires marginalization of landmarks
std::string desc
short description of the solver
int poseDim
dimension of the pose vertices (-1 if variable)
std::string type
type of solver, e.g., "CSparse Cholesky", "PCG"
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 51 of file optimization_algorithm_property.h.

51  :
52  name(name_), desc(desc_), type(type_), requiresMarginalize(requiresMarginalize_), poseDim(poseDim_), landmarkDim(landmarkDim_)
53  {
54  }
std::string name
name of the solver, e.g., var
int landmarkDim
dimension of the landmar vertices (-1 if variable)
bool requiresMarginalize
whether the solver requires marginalization of landmarks
std::string desc
short description of the solver
int poseDim
dimension of the pose vertices (-1 if variable)
std::string type
type of solver, e.g., "CSparse Cholesky", "PCG"

Member Data Documentation

std::string g2o::OptimizationAlgorithmProperty::desc

short description of the solver

Definition at line 42 of file optimization_algorithm_property.h.

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

int g2o::OptimizationAlgorithmProperty::landmarkDim

dimension of the landmar vertices (-1 if variable)

Definition at line 46 of file optimization_algorithm_property.h.

Referenced by g2o::OptimizableGraph::isSolverSuitable(), and MainWindow::prepare().

std::string g2o::OptimizationAlgorithmProperty::name
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().

bool g2o::OptimizationAlgorithmProperty::requiresMarginalize

whether the solver requires marginalization of landmarks

Definition at line 44 of file optimization_algorithm_property.h.

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

std::string g2o::OptimizationAlgorithmProperty::type

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

Definition at line 43 of file optimization_algorithm_property.h.

Referenced by MainWindow::updateDisplayedSolvers().


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