Purple::DeJongFunction Class Reference

Inheritance diagram for Purple::DeJongFunction:

Purple::ObjectiveFunction List of all members.

Public Member Functions

 DeJongFunction (void)
virtual ~DeJongFunction (void)
double getEvaluation (Vector< double >)
Vector< double > getGradient (Vector< double >)
Matrix< double > getHessian (Vector< double >)
Matrix< double > getInverseHessian (Vector< double >)

Detailed Description

This class represents the De Jong's objective function.

See also:
ObjectiveFunction.

Definition at line 26 of file DeJongFunction.h.


Constructor & Destructor Documentation

Purple::DeJongFunction::DeJongFunction ( void   ) 

General constructor. It creates a De Jong's objective function object. It also initializes all the rest of class members to their default values:

Definition at line 34 of file DeJongFunction.cpp.

Purple::DeJongFunction::~DeJongFunction ( void   )  [virtual]

Destructor.

Definition at line 52 of file DeJongFunction.cpp.


Member Function Documentation

double Purple::DeJongFunction::getEvaluation ( Vector< double >  argument  )  [virtual]

This method returns the De Jong's function evaluation for a given argument.

Parameters:
argument,: Objective function argument.

Implements Purple::ObjectiveFunction.

Definition at line 66 of file DeJongFunction.cpp.

Vector< double > Purple::DeJongFunction::getGradient ( Vector< double >  argument  )  [virtual]

This method returns the De Jong's analytical gradient Vector for a given argument.

Parameters:
argument,: Point at which the gradient is to be computed.

Reimplemented from Purple::ObjectiveFunction.

Definition at line 99 of file DeJongFunction.cpp.

Matrix< double > Purple::DeJongFunction::getHessian ( Vector< double >  argument  )  [virtual]

This method returns the De Jong's analytical Hessian Matrix for a given argument.

Parameters:
argument,: Point at which the Hessian is to be computed.

Reimplemented from Purple::ObjectiveFunction.

Definition at line 119 of file DeJongFunction.cpp.

Matrix< double > Purple::DeJongFunction::getInverseHessian ( Vector< double >  argument  )  [virtual]

This method returns the De Jong's analytical inverse Hessian Matrix for a given argument.

Parameters:
argument,: Point at which the inverse Hessian is to be computed.

Reimplemented from Purple::ObjectiveFunction.

Definition at line 149 of file DeJongFunction.cpp.


Generated on Wed Jun 21 13:10:38 2006 for Purple by  doxygen 1.4.7