improved docstrings
parent
ec8714a548
commit
a0c0cd1fce
|
@ -24,20 +24,22 @@
|
|||
namespace gtsam {
|
||||
|
||||
/**
|
||||
* parameters for the conjugate gradient method
|
||||
* Parameters for the Conjugate Gradient method
|
||||
*/
|
||||
class GTSAM_EXPORT ConjugateGradientParameters : public IterativeOptimizationParameters {
|
||||
|
||||
public:
|
||||
public:
|
||||
typedef IterativeOptimizationParameters Base;
|
||||
typedef std::shared_ptr<ConjugateGradientParameters> shared_ptr;
|
||||
|
||||
protected:
|
||||
size_t minIterations_; ///< minimum number of cg iterations
|
||||
size_t maxIterations_; ///< maximum number of cg iterations
|
||||
size_t reset_; ///< number of iterations before reset
|
||||
double epsilon_rel_; ///< threshold for relative error decrease
|
||||
double epsilon_abs_; ///< threshold for absolute error decrease
|
||||
|
||||
public:
|
||||
/* Matrix Operation Kernel */
|
||||
enum BLASKernel {
|
||||
GTSAM = 0, ///< Jacobian Factor Graph of GTSAM
|
||||
|
|
|
@ -31,7 +31,7 @@ class VectorValues;
|
|||
struct PreconditionerParameters;
|
||||
|
||||
/**
|
||||
* Parameters for PCG
|
||||
* Parameters for Preconditioned Conjugate Gradient solver.
|
||||
*/
|
||||
struct GTSAM_EXPORT PCGSolverParameters: public ConjugateGradientParameters {
|
||||
public:
|
||||
|
@ -91,8 +91,8 @@ public:
|
|||
* System class needed for calling preconditionedConjugateGradient
|
||||
*/
|
||||
class GTSAM_EXPORT GaussianFactorGraphSystem {
|
||||
GaussianFactorGraph gfg_;
|
||||
Preconditioner preconditioner_;
|
||||
const GaussianFactorGraph &gfg_;
|
||||
const Preconditioner &preconditioner_;
|
||||
KeyInfo keyInfo_;
|
||||
std::map<Key, Vector> lambda_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue