26 namespace internal {
struct NonlinearOptimizerState; }
80 std::unique_ptr<internal::NonlinearOptimizerState>
state_;
84 using shared_ptr = boost::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,
virtual const Values & optimize()
Factor Graph consisting of non-linear factors.
boost::shared_ptr< const NonlinearOptimizer > shared_ptr
boost::shared_ptr< This > shared_ptr
shared_ptr to this class
const NonlinearFactorGraph & graph() const
return the graph with nonlinear factors
NonlinearFactorGraph graph
std::unique_ptr< internal::NonlinearOptimizerState > state_
PIMPL'd state.
bool checkConvergence(double relativeErrorTreshold, double absoluteErrorTreshold, double errorThreshold, double currentError, double newError, NonlinearOptimizerParams::Verbosity verbosity)
static SmartStereoProjectionParams params
NonlinearFactorGraph graph_
The graph with nonlinear factors.
Parameters for nonlinear optimization.