sc::LineOpt Class Reference

The LineOpt abstract class is used to perform one dimensional optimizations. More...

#include <math/optimize/opt.h>

Inheritance diagram for sc::LineOpt:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 LineOpt (StateIn &)
 LineOpt (const Ref< KeyVal > &)
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.
virtual void init (RefSCVector &direction)
 Initializes the line search object.
virtual void init (RefSCVector &direction, Ref< Function > function)
 Initializes the line search object.
void apply_transform (const Ref< NonlinearTransform > &)
 Applies a nonlinear transform.
void print (std::ostream &=ExEnv::out0()) const
 Print the object.

Protected Attributes

RefSCVector initial_x_
double initial_value_
RefSCVector initial_grad_
RefSCVector search_direction_
Ref< Functionfunction_


Detailed Description

The LineOpt abstract class is used to perform one dimensional optimizations.


Member Function Documentation

void sc::LineOpt::save_data_state ( StateOut  )  [virtual]

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.

virtual void sc::LineOpt::init ( RefSCVector direction  )  [virtual]

Initializes the line search object.

Argument is a search direction. Use of this method assumes the Optimize base class already has a function object (got it from a keyval or elsewhere).

Reimplemented in sc::MCSearch.

virtual void sc::LineOpt::init ( RefSCVector direction,
Ref< Function function 
) [virtual]

Initializes the line search object.

First argument is a search direction, second argument is a function object to optimize. Use this method when a function must be passed to the Optimize base class.

Reimplemented in sc::MCSearch.


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

Generated at Sun Feb 22 10:12:54 2009 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.5.6.
These pages are hosted on SourceForge.net