IMP  2.1.1
The Integrative Modeling Platform
IMP::core::SteepestDescent Class Reference

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

IMP::core::SteepestDescent::SteepestDescent ( )
Deprecated:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. Use the constructor that takes a kernel::Model.

The documentation for this class was generated from the following file: