Allow more parameters to be set

release/4.3a0
Frank Dellaert 2012-07-04 15:41:19 +00:00
parent 989c71e9a2
commit d89a9e086c
1 changed files with 18 additions and 0 deletions

18
gtsam.h
View File

@ -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;