Purple::RosenbrockFunction Class Reference

Inheritance diagram for Purple::RosenbrockFunction:

Purple::ObjectiveFunction List of all members.

Public Member Functions

 RosenbrockFunction (void)
virtual ~RosenbrockFunction (void)
double getEvaluation (Vector< double >)

Detailed Description

This class represents the Rastrigin's objective function.

See also:
ObjectiveFunction.

Definition at line 26 of file RosenbrockFunction.h.


Constructor & Destructor Documentation

Purple::RosenbrockFunction::RosenbrockFunction ( void   ) 

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

Definition at line 34 of file RosenbrockFunction.cpp.

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

Destructor.

Definition at line 52 of file RosenbrockFunction.cpp.


Member Function Documentation

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

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

Parameters:
argument,: Objective function argument.

Implements Purple::ObjectiveFunction.

Definition at line 66 of file RosenbrockFunction.cpp.


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