Inheritance diagram for Purple::RastriginFunction:
Public Member Functions | |
RastriginFunction (void) | |
virtual | ~RastriginFunction (void) |
double | getEvaluation (Vector< double >) |
Vector< double > | getGradient (Vector< double >) |
Matrix< double > | getHessian (Vector< double >) |
Matrix< double > | getInverseHessian (Vector< double >) |
Definition at line 26 of file RastriginFunction.h.
Purple::RastriginFunction::RastriginFunction | ( | void | ) |
General constructor. It creates a Rastrigin's objective function object. It also initializes all the rest of class members to their default values:
Definition at line 34 of file RastriginFunction.cpp.
Purple::RastriginFunction::~RastriginFunction | ( | void | ) | [virtual] |
double Purple::RastriginFunction::getEvaluation | ( | Vector< double > | argument | ) | [virtual] |
This method returns the Rastrigin's function evaluation for a given argument.
argument,: | Objective function argument. |
Implements Purple::ObjectiveFunction.
Definition at line 66 of file RastriginFunction.cpp.
This method returns the De Jong's analytical gradient Vector for a given argument.
argument,: | Point at which the gradient is to be computed. |
Reimplemented from Purple::ObjectiveFunction.
Definition at line 103 of file RastriginFunction.cpp.
This method returns the Rosenbrock's analytical Hessian Matrix for a given argument.
argument,: | Point at which the Hessian is to be computed. |
Reimplemented from Purple::ObjectiveFunction.
Definition at line 125 of file RastriginFunction.cpp.
Matrix< double > Purple::RastriginFunction::getInverseHessian | ( | Vector< double > | argument | ) | [virtual] |
This method returns the Rastrigin's analytical inverse Hessian Matrix for a given argument.
argument,: | Point at which the inverse Hessian is to be computed. |
Reimplemented from Purple::ObjectiveFunction.
Definition at line 157 of file RastriginFunction.cpp.