#include <ConjugateGradientSolver.h>
Public Types | |
typedef IterativeOptimizationParameters | Base |
enum | BLASKernel { GTSAM = 0 } |
typedef std::shared_ptr< ConjugateGradientParameters > | shared_ptr |
Public Types inherited from gtsam::IterativeOptimizationParameters | |
typedef std::shared_ptr< IterativeOptimizationParameters > | shared_ptr |
enum | Verbosity { SILENT = 0, COMPLEXITY, ERROR } |
Public Member Functions | |
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 |
void | print (std::ostream &os) const override |
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 () |
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... | |
Additional Inherited Members | |
Protected Attributes inherited from gtsam::IterativeOptimizationParameters | |
Verbosity | verbosity_ |
Parameters for the Conjugate Gradient method
Definition at line 29 of file ConjugateGradientSolver.h.
Definition at line 31 of file ConjugateGradientSolver.h.
typedef std::shared_ptr<ConjugateGradientParameters> gtsam::ConjugateGradientParameters::shared_ptr |
Definition at line 32 of file ConjugateGradientSolver.h.
Enumerator | |
---|---|
GTSAM |
Definition at line 41 of file ConjugateGradientSolver.h.
|
inline |
Definition at line 45 of file ConjugateGradientSolver.h.
|
inline |
Definition at line 53 of file ConjugateGradientSolver.h.
|
inline |
Definition at line 63 of file ConjugateGradientSolver.h.
|
static |
Definition at line 39 of file ConjugateGradientSolver.cpp.
|
static |
Definition at line 49 of file ConjugateGradientSolver.cpp.
|
inline |
Definition at line 89 of file ConjugateGradientSolver.h.
|
overridevirtual |
Reimplemented from gtsam::IterativeOptimizationParameters.
Reimplemented in gtsam::PCGSolverParameters, and gtsam::SubgraphSolverParameters.
enum gtsam::ConjugateGradientParameters::BLASKernel gtsam::ConjugateGradientParameters::blas_kernel |
double gtsam::ConjugateGradientParameters::epsilon_abs |
threshold for absolute error decrease
Definition at line 38 of file ConjugateGradientSolver.h.
double gtsam::ConjugateGradientParameters::epsilon_rel |
threshold for relative error decrease
Definition at line 37 of file ConjugateGradientSolver.h.
size_t gtsam::ConjugateGradientParameters::maxIterations |
maximum number of cg iterations
Definition at line 35 of file ConjugateGradientSolver.h.
size_t gtsam::ConjugateGradientParameters::minIterations |
minimum number of cg iterations
Definition at line 34 of file ConjugateGradientSolver.h.
size_t gtsam::ConjugateGradientParameters::reset |
number of iterations before reset
Definition at line 36 of file ConjugateGradientSolver.h.