#include <GlobalSearch.h>
Public Member Functions | |
GlobalSearch () | |
Default constructor. | |
unsigned | nGenerations () |
Number of generation evolved so far in the search process. | |
double | evaluate (vector< double > &x) |
Evaluate the objective function. | |
double | bestEvaluation () |
Best(highest) result so far. | |
Public Attributes | |
Population< T > | pop |
Population to be evolved. | |
ObjectiveFunction * | fObj |
Objective function to optimize. | |
Protected Attributes | |
unsigned | nGen |
Number of generation evolved so far in the search process. |
<File comment goes here!!>
Copyright (c) 2008 by <Quang Huy / NTU>
T | Type T can be bool (binary problems), int (combinatorial problems) or real (continuous problems). |
double GlobalSearch< T >::evaluate | ( | vector< double > & | x | ) | [inline] |
Evaluate the objective function.
x | Input phenotype. |
double GlobalSearch< T >::bestEvaluation | ( | ) | [inline] |
Best(highest) result so far.
<exception | class> Description of criteria for throwing this exception. |
Population<T> GlobalSearch< T >::pop |