Public Types | Public Member Functions | Public Attributes | List of all members
gtsam::PCGSolverParameters Struct Reference

#include <PCGSolver.h>

Inheritance diagram for gtsam::PCGSolverParameters:
Inheritance graph
[legend]

Public Types

typedef ConjugateGradientParameters Base
 
typedef std::shared_ptr< PCGSolverParametersshared_ptr
 
- Public Types inherited from gtsam::ConjugateGradientParameters
typedef IterativeOptimizationParameters Base
 
enum  BLASKernel { GTSAM = 0 }
 
typedef std::shared_ptr< ConjugateGradientParametersshared_ptr
 
- Public Types inherited from gtsam::IterativeOptimizationParameters
typedef std::shared_ptr< IterativeOptimizationParametersshared_ptr
 
enum  Verbosity { SILENT = 0, COMPLEXITY, ERROR }
 

Public Member Functions

 PCGSolverParameters ()
 
 PCGSolverParameters (const std::shared_ptr< PreconditionerParameters > &preconditioner)
 
void print (const std::string &s) const
 
void print (std::ostream &os) const override
 
- Public Member Functions inherited from gtsam::ConjugateGradientParameters
 ConjugateGradientParameters ()
 
 ConjugateGradientParameters (const ConjugateGradientParameters &p)
 
 ConjugateGradientParameters (size_t minIterations, size_t maxIterations, size_t reset, double epsilon_rel, double epsilon_abs, BLASKernel blas)
 
void print () const
 
- Public Member Functions inherited from gtsam::IterativeOptimizationParameters
virtual GTSAM_EXPORT bool equals (const IterativeOptimizationParameters &other, double tol=1e-9) const
 
GTSAM_EXPORT std::string getVerbosity () const
 
 IterativeOptimizationParameters (Verbosity v=SILENT)
 
GTSAM_EXPORT void print () const
 
GTSAM_EXPORT void setVerbosity (const std::string &s)
 
Verbosity verbosity () const
 
virtual ~IterativeOptimizationParameters ()
 

Public Attributes

std::shared_ptr< PreconditionerParameterspreconditioner
 
- Public Attributes inherited from gtsam::ConjugateGradientParameters
enum gtsam::ConjugateGradientParameters::BLASKernel blas_kernel
 
double epsilon_abs
 threshold for absolute error decrease More...
 
double epsilon_rel
 threshold for relative error decrease More...
 
size_t maxIterations
 maximum number of cg iterations More...
 
size_t minIterations
 minimum number of cg iterations More...
 
size_t reset
 number of iterations before reset More...
 

Additional Inherited Members

- Static Public Member Functions inherited from gtsam::ConjugateGradientParameters
static std::string blasTranslator (const BLASKernel k)
 
static BLASKernel blasTranslator (const std::string &s)
 
- Static Public Member Functions inherited from gtsam::IterativeOptimizationParameters
static GTSAM_EXPORT Verbosity verbosityTranslator (const std::string &s)
 
static GTSAM_EXPORT std::string verbosityTranslator (Verbosity v)
 
- Protected Attributes inherited from gtsam::IterativeOptimizationParameters
Verbosity verbosity_
 

Detailed Description

Parameters for Preconditioned Conjugate Gradient solver.

Definition at line 36 of file PCGSolver.h.

Member Typedef Documentation

◆ Base

Definition at line 37 of file PCGSolver.h.

◆ shared_ptr

Definition at line 38 of file PCGSolver.h.

Constructor & Destructor Documentation

◆ PCGSolverParameters() [1/2]

gtsam::PCGSolverParameters::PCGSolverParameters ( )
inline

Definition at line 42 of file PCGSolver.h.

◆ PCGSolverParameters() [2/2]

gtsam::PCGSolverParameters::PCGSolverParameters ( const std::shared_ptr< PreconditionerParameters > &  preconditioner)
inline

Definition at line 44 of file PCGSolver.h.

Member Function Documentation

◆ print() [1/2]

void gtsam::PCGSolverParameters::print ( const std::string &  s) const

Definition at line 46 of file PCGSolver.cpp.

◆ print() [2/2]

void gtsam::PCGSolverParameters::print ( std::ostream &  os) const
overridevirtual

Member Data Documentation

◆ preconditioner

std::shared_ptr<PreconditionerParameters> gtsam::PCGSolverParameters::preconditioner

Definition at line 40 of file PCGSolver.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:16:24