Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
gtsam::ConjugateGradientParameters Class Reference

#include <ConjugateGradientSolver.h>

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

Public Types

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

Public Member Functions

 ConjugateGradientParameters ()
 
 ConjugateGradientParameters (size_t minIterations, size_t maxIterations, size_t reset, double epsilon_rel, double epsilon_abs, BLASKernel blas)
 
 ConjugateGradientParameters (const ConjugateGradientParameters &p)
 
double epsilon () const
 
double epsilon_abs () const
 
double epsilon_rel () const
 
double getEpsilon () const
 
double getEpsilon_abs () const
 
double getEpsilon_rel () const
 
size_t getMaxIterations () const
 
size_t getMinIterations () const
 
size_t getReset () const
 
size_t maxIterations () const
 
size_t minIterations () const
 
void print () const
 
void print (std::ostream &os) const override
 
size_t reset () const
 
void setEpsilon (double value)
 
void setEpsilon_abs (double value)
 
void setEpsilon_rel (double value)
 
void setMaxIterations (size_t value)
 
void setMinIterations (size_t value)
 
void setReset (size_t value)
 
- Public Member Functions inherited from gtsam::IterativeOptimizationParameters
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 ()
 

Static Public Member Functions

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)
 

Public Attributes

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...
 
- Public Attributes inherited from gtsam::IterativeOptimizationParameters
enum gtsam::IterativeOptimizationParameters::Verbosity verbosity_
 

Detailed Description

parameters for the conjugate gradient method

Definition at line 29 of file ConjugateGradientSolver.h.

Member Typedef Documentation

Definition at line 32 of file ConjugateGradientSolver.h.

Definition at line 33 of file ConjugateGradientSolver.h.

Member Enumeration Documentation

Enumerator
GTSAM 

Jacobian Factor Graph of GTSAM.

Definition at line 42 of file ConjugateGradientSolver.h.

Constructor & Destructor Documentation

gtsam::ConjugateGradientParameters::ConjugateGradientParameters ( )
inline

Definition at line 46 of file ConjugateGradientSolver.h.

gtsam::ConjugateGradientParameters::ConjugateGradientParameters ( size_t  minIterations,
size_t  maxIterations,
size_t  reset,
double  epsilon_rel,
double  epsilon_abs,
BLASKernel  blas 
)
inline

Definition at line 50 of file ConjugateGradientSolver.h.

gtsam::ConjugateGradientParameters::ConjugateGradientParameters ( const ConjugateGradientParameters p)
inline

Definition at line 55 of file ConjugateGradientSolver.h.

Member Function Documentation

std::string gtsam::ConjugateGradientParameters::blasTranslator ( const BLASKernel  k)
static

Definition at line 40 of file ConjugateGradientSolver.cpp.

ConjugateGradientParameters::BLASKernel gtsam::ConjugateGradientParameters::blasTranslator ( const std::string &  s)
static

Definition at line 50 of file ConjugateGradientSolver.cpp.

double gtsam::ConjugateGradientParameters::epsilon ( ) const
inline

Definition at line 63 of file ConjugateGradientSolver.h.

double gtsam::ConjugateGradientParameters::epsilon_abs ( ) const
inline

Definition at line 65 of file ConjugateGradientSolver.h.

double gtsam::ConjugateGradientParameters::epsilon_rel ( ) const
inline

Definition at line 64 of file ConjugateGradientSolver.h.

double gtsam::ConjugateGradientParameters::getEpsilon ( ) const
inline

Definition at line 70 of file ConjugateGradientSolver.h.

double gtsam::ConjugateGradientParameters::getEpsilon_abs ( ) const
inline

Definition at line 72 of file ConjugateGradientSolver.h.

double gtsam::ConjugateGradientParameters::getEpsilon_rel ( ) const
inline

Definition at line 71 of file ConjugateGradientSolver.h.

size_t gtsam::ConjugateGradientParameters::getMaxIterations ( ) const
inline

Definition at line 68 of file ConjugateGradientSolver.h.

size_t gtsam::ConjugateGradientParameters::getMinIterations ( ) const
inline

Definition at line 67 of file ConjugateGradientSolver.h.

size_t gtsam::ConjugateGradientParameters::getReset ( ) const
inline

Definition at line 69 of file ConjugateGradientSolver.h.

size_t gtsam::ConjugateGradientParameters::maxIterations ( ) const
inline

Definition at line 61 of file ConjugateGradientSolver.h.

size_t gtsam::ConjugateGradientParameters::minIterations ( ) const
inline

Definition at line 60 of file ConjugateGradientSolver.h.

void gtsam::ConjugateGradientParameters::print ( ) const
inline

Definition at line 82 of file ConjugateGradientSolver.h.

void gtsam::ConjugateGradientParameters::print ( std::ostream &  os) const
overridevirtual
size_t gtsam::ConjugateGradientParameters::reset ( ) const
inline

Definition at line 62 of file ConjugateGradientSolver.h.

void gtsam::ConjugateGradientParameters::setEpsilon ( double  value)
inline

Definition at line 77 of file ConjugateGradientSolver.h.

void gtsam::ConjugateGradientParameters::setEpsilon_abs ( double  value)
inline

Definition at line 79 of file ConjugateGradientSolver.h.

void gtsam::ConjugateGradientParameters::setEpsilon_rel ( double  value)
inline

Definition at line 78 of file ConjugateGradientSolver.h.

void gtsam::ConjugateGradientParameters::setMaxIterations ( size_t  value)
inline

Definition at line 75 of file ConjugateGradientSolver.h.

void gtsam::ConjugateGradientParameters::setMinIterations ( size_t  value)
inline

Definition at line 74 of file ConjugateGradientSolver.h.

void gtsam::ConjugateGradientParameters::setReset ( size_t  value)
inline

Definition at line 76 of file ConjugateGradientSolver.h.

Member Data Documentation

enum gtsam::ConjugateGradientParameters::BLASKernel gtsam::ConjugateGradientParameters::blas_kernel_
double gtsam::ConjugateGradientParameters::epsilon_abs_

threshold for absolute error decrease

Definition at line 39 of file ConjugateGradientSolver.h.

double gtsam::ConjugateGradientParameters::epsilon_rel_

threshold for relative error decrease

Definition at line 38 of file ConjugateGradientSolver.h.

size_t gtsam::ConjugateGradientParameters::maxIterations_

maximum number of cg iterations

Definition at line 36 of file ConjugateGradientSolver.h.

size_t gtsam::ConjugateGradientParameters::minIterations_

minimum number of cg iterations

Definition at line 35 of file ConjugateGradientSolver.h.

size_t gtsam::ConjugateGradientParameters::reset_

number of iterations before reset

Definition at line 37 of file ConjugateGradientSolver.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:07