Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::FRPROptimizer Class Reference
[NumericsOptimizers]

Implements Fletch-Reeves & Polak-Ribiere optimization using dBrent line search - adapted from Numerical Recipes in C (first edition). More...

#include <itkFRPROptimizer.h>

Inheritance diagram for itk::FRPROptimizer:

Inheritance graph
[legend]
Collaboration diagram for itk::FRPROptimizer:

Collaboration graph
[legend]
List of all members.

Public Types

typedef FRPROptimizer Self
typedef PowellOptimizer Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef SingleValuedNonLinearOptimizer::ParametersType ParametersType
typedef SingleValuedCostFunction CostFunctionType
typedef CostFunctionType::Pointer CostFunctionPointer

Public Member Functions

virtual const char * GetNameOfClass () const
void StartOptimization ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 FRPROptimizer ()
virtual ~FRPROptimizer ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void GetValueAndDerivative (ParametersType p, double *val, ParametersType *xi)
virtual void LineOptimize (ParametersType *p, ParametersType xi, double *val)

Detailed Description

Implements Fletch-Reeves & Polak-Ribiere optimization using dBrent line search - adapted from Numerical Recipes in C (first edition).

This optimizer needs a cost function. This optimizer needs to be able to compute partial derivatives of the cost function with respect to each parameter.

The SetStepLength determines the initial distance to step in a line direction when bounding the minimum (using bracketing triple spaced using a derivative-based search strategy).

The StepTolerance terminates optimization when the parameter values are known to be within this (scaled) distance of the local extreme.

The ValueTolerance terminates optimization when the cost function values at the current parameters and at the local extreme are likely (within a second order approximation) to be within this is tolerance.

Definition at line 50 of file itkFRPROptimizer.h.


Member Typedef Documentation

typedef SmartPointer<const Self> itk::FRPROptimizer::ConstPointer
 

Reimplemented from itk::PowellOptimizer.

Definition at line 58 of file itkFRPROptimizer.h.

typedef CostFunctionType::Pointer itk::FRPROptimizer::CostFunctionPointer
 

Reimplemented from itk::PowellOptimizer.

Definition at line 71 of file itkFRPROptimizer.h.

typedef SingleValuedCostFunction itk::FRPROptimizer::CostFunctionType
 

Type of the Cost Function

Reimplemented from itk::PowellOptimizer.

Definition at line 70 of file itkFRPROptimizer.h.

typedef SingleValuedNonLinearOptimizer::ParametersType itk::FRPROptimizer::ParametersType
 

Parameters type. It defines a position in the optimization search space.

Reimplemented from itk::PowellOptimizer.

Definition at line 61 of file itkFRPROptimizer.h.

typedef SmartPointer<Self> itk::FRPROptimizer::Pointer
 

Reimplemented from itk::PowellOptimizer.

Definition at line 57 of file itkFRPROptimizer.h.

typedef FRPROptimizer itk::FRPROptimizer::Self
 

Standard "Self" typedef.

Reimplemented from itk::PowellOptimizer.

Definition at line 55 of file itkFRPROptimizer.h.

typedef PowellOptimizer itk::FRPROptimizer::Superclass
 

Reimplemented from itk::PowellOptimizer.

Definition at line 56 of file itkFRPROptimizer.h.


Constructor & Destructor Documentation

itk::FRPROptimizer::FRPROptimizer  )  [protected]
 

virtual itk::FRPROptimizer::~FRPROptimizer  )  [protected, virtual]
 


Member Function Documentation

virtual const char* itk::FRPROptimizer::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::PowellOptimizer.

virtual void itk::FRPROptimizer::GetValueAndDerivative ParametersType  p,
double *  val,
ParametersType xi
[protected, virtual]
 

Get the value of the n-dimensional cost function at this scalar step distance along the current line direction from the current line origin. Line origin and distances are set via SetLine

virtual void itk::FRPROptimizer::LineOptimize ParametersType p,
ParametersType  xi,
double *  val
[protected, virtual]
 

Pointer itk::FRPROptimizer::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::PowellOptimizer.

void itk::FRPROptimizer::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::PowellOptimizer.

void itk::FRPROptimizer::StartOptimization  )  [virtual]
 

Start optimization.

Reimplemented from itk::PowellOptimizer.


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:59:13 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000