26#include <boost/date_time/posix_time/posix_time.hpp>
28class NonlinearOptimizerMoreOptimizationTest;
39 boost::posix_time::ptime startTime_;
44 typedef boost::shared_ptr<LevenbergMarquardtOptimizer> shared_ptr;
81 double lambda()
const;
84 int getInnerIterations()
const;
87 void print(
const std::string& str =
"")
const {
88 std::cout << str <<
"LevenbergMarquardtOptimizer" << std::endl;
89 this->params_.print(
" parameters:\n");
108 void writeLogFile(
double currentError);
Base class and parameters for nonlinear optimization algorithms.
Parameters for Levenberg-Marquardt trust-region scheme.
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
Definition: Ordering.h:34
A Linear Factor Graph is a factor graph where all factors are Gaussian, i.e.
Definition: GaussianFactorGraph.h:69
boost::shared_ptr< This > shared_ptr
shared_ptr to this class
Definition: GaussianFactorGraph.h:75
This class represents a collection of vector-valued variables associated each with a unique integer i...
Definition: VectorValues.h:74
This class performs Levenberg-Marquardt nonlinear optimization.
Definition: LevenbergMarquardtOptimizer.h:35
~LevenbergMarquardtOptimizer() override
Virtual destructor.
Definition: LevenbergMarquardtOptimizer.h:72
const LevenbergMarquardtParams & params() const
Read-only access the parameters.
Definition: LevenbergMarquardtOptimizer.h:104
const NonlinearOptimizerParams & _params() const override
Access the parameters (base class version)
Definition: LevenbergMarquardtOptimizer.h:125
const LevenbergMarquardtParams params_
LM parameters.
Definition: LevenbergMarquardtOptimizer.h:38
void print(const std::string &str="") const
print
Definition: LevenbergMarquardtOptimizer.h:87
Parameters for Levenberg-Marquardt optimization.
Definition: LevenbergMarquardtParams.h:35
A non-linear factor graph is a graph of non-Gaussian, i.e.
Definition: NonlinearFactorGraph.h:78
This is the abstract interface for classes that can optimize for the maximum-likelihood estimate of a...
Definition: NonlinearOptimizer.h:75
The common parameters for Nonlinear optimizers.
Definition: NonlinearOptimizerParams.h:34
A non-templated config holding any types of Manifold-group elements.
Definition: Values.h:63