IMP
2.1.0
The Integrative Modeling Platform
|
A simple steepest descent optimizer. More...
#include <IMP/core/SteepestDescent.h>
Inherits AttributeOptimizer.
Public Member Functions | |
SteepestDescent () | |
SteepestDescent (kernel::Model *m, std::string name="SteepestDescent%1%") | |
virtual Float | do_optimize (unsigned int max_steps) |
virtual std::string | get_type_name () const |
virtual ::IMP::base::VersionInfo | get_version_info () const |
void | set_maximum_step_size (Float t) |
The maximum step size. | |
void | set_step_size (Float t) |
The starting step size. | |
void | set_threshold (Float t) |
Set the minimum gradient threshold. | |
Follow the gradient based on the partial derivatives. Multiply by the current step size. If the score gets worse, reduce the step size. If the score gets better, increase the step size if we are sufficiently far from a score of zero. If the score reaches the threshold, quit.
Definition at line 23 of file SteepestDescent.h.
IMP::core::SteepestDescent::SteepestDescent | ( | ) |