26 namespace internal {
struct NonlinearOptimizerState; }
80 std::unique_ptr<internal::NonlinearOptimizerState>
state_;
84 using shared_ptr = std::shared_ptr<const NonlinearOptimizer>;
106 const Values& optimizeSafely();
109 double error()
const;
112 size_t iterations()
const;
144 void defaultOptimize();
150 std::unique_ptr<internal::NonlinearOptimizerState>
state);
158 double absoluteErrorTreshold,
double errorThreshold,
const NonlinearFactorGraph & graph() const
return the graph with nonlinear factors
virtual const Values & optimize()
Factor Graph consisting of non-linear factors.
NonlinearFactorGraph graph
static const SmartProjectionParams params
bool checkConvergence(double relativeErrorTreshold, double absoluteErrorTreshold, double errorThreshold, double currentError, double newError, NonlinearOptimizerParams::Verbosity verbosity)
std::unique_ptr< internal::NonlinearOptimizerState > state_
PIMPL'd state.
std::shared_ptr< This > shared_ptr
shared_ptr to this class
std::shared_ptr< const NonlinearOptimizer > shared_ptr
NonlinearFactorGraph graph_
The graph with nonlinear factors.
Parameters for nonlinear optimization.