#include <LocalSearch.h>
Public Member Functions | |
LocalSearch (ObjectiveFunction *objectiveFunction) | |
Constructor. | |
~LocalSearch () | |
Destructor. | |
virtual double | search (vector< double > &x) |
Actual search strategy. | |
Protected Member Functions | |
bool | done () |
Check if stopping criteria are satisfied. | |
double | evaluate (vector< double > &x) |
Evaluate the objective function. |
<File comment goes here!!>
Copyright (c) 2008 by <Quang Huy / NTU>
LocalSearch::LocalSearch | ( | ObjectiveFunction * | objectiveFunction | ) |
Constructor.
<File comment goes here!!>
Copyright (c) 2008 by <Quang Huy / NTU>
objectiveFunction | Objective function to be optimized. |
bool LocalSearch::done | ( | ) | [protected] |
Check if stopping criteria are satisfied.
double LocalSearch::evaluate | ( | vector< double > & | x | ) | [protected] |
Evaluate the objective function.
x | Input phenotype. |
double LocalSearch::search | ( | vector< double > & | x | ) | [virtual] |
Actual search strategy.
x | Initial point. |
Reimplemented in LocalSearch_DFP, and LocalSearch_DSCG.