From d89a9e086cd3529bfe58dbee84aee35d09b79e97 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Wed, 4 Jul 2012 15:41:19 +0000 Subject: [PATCH] Allow more parameters to be set --- gtsam.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gtsam.h b/gtsam.h index 5af8f4e7c..b80ddd26e 100644 --- a/gtsam.h +++ b/gtsam.h @@ -1013,6 +1013,24 @@ class LevenbergMarquardtParams { LevenbergMarquardtParams(); LevenbergMarquardtParams(double initial, double factor, double bound, size_t verbose); void print(string s) const; + + double getMaxIterations() const; + double getRelativeErrorTol() const; + double getAbsoluteErrorTol() const; + double getErrorTol() const; + string getVerbosity() const; + + void setMaxIterations(double value); + void setRelativeErrorTol(double value); + void setAbsoluteErrorTol(double value); + void setErrorTol(double value); + void setVerbosity(string s); + + bool isMultifrontal() const; + bool isSequential() const; + bool isCholmod() const; + bool isCG() const; + double getlambdaInitial() const ; double getlambdaFactor() const ; double getlambdaUpperBound() const;