7#include "smooth/version.hpp"
29 inline double get_delta()
const override {
return m_delta; }
33 const double two_rho_min_1 = 2 * rho - 1;
34 m_delta /= std::max(1. / 3, 1 - two_rho_min_1 * two_rho_min_1 * two_rho_min_1);
45 double m_delta{10000};
57 inline double get_delta()
const override {
return m_delta; }
Trust region strategy used in the Ceres solver.
bool step_and_update(const double rho) override
Update trust region and determine if step is taken.
double get_delta() const override
Get trust region size.
Trust region strategy used in:
bool step_and_update(const double rho) override
Update trust region and determine if step is taken.
double get_delta() const override
Get trust region size.
virtual bool step_and_update(const double rho)=0
Update trust region and determine if step is taken.
virtual double get_delta() const =0
Get trust region size.