MPQC  2.3.1
Public Member Functions | Protected Attributes
sc::SteepestDescentOpt Class Reference
Inheritance diagram for sc::SteepestDescentOpt:
sc::Optimize sc::SavableState sc::DescribedClass sc::RefCount sc::Identity

List of all members.

Public Member Functions

 SteepestDescentOpt (const Ref< KeyVal > &)
 SteepestDescentOpt (StateIn &)
void save_data_state (StateOut &)
 Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.
void init ()
 Initialize the optimizer.
int update ()
 Take a step.

Protected Attributes

double maxabs_gradient
double accuracy_
Ref< LineOptlineopt_
int take_newton_step_
int print_x_
int print_gradient_

Member Function Documentation

Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.

This must be implemented by the derived class if the class has data.

Reimplemented from sc::Optimize.

int sc::SteepestDescentOpt::update ( ) [virtual]

Take a step.

Returns 1 if the optimization has converged, otherwise 0.

Implements sc::Optimize.


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

Generated at Tue Feb 28 2012 20:22:18 for MPQC 2.3.1 using the documentation package Doxygen 1.7.6.1.