#include <AdaptiveGrid.h>
Public Member Functions | |
AdaptiveGrid () | |
Constructor. | |
AdaptiveGrid (int depth, int numberOfFunctions) | |
Constructor. | |
~AdaptiveGrid () | |
Destructor. | |
void | updateGridLocations (Population *population, Individual *individual) |
Update the grid locations. | |
int | findLocation (Individual *individual) |
Find the location of the individual in the adaptive grid. | |
Public Attributes | |
int * | hypercube_ |
Hypercube division for keeping diversity. | |
double * | divisionSize_ |
Division sizes of the adaptive grid. | |
double * | gridLimits_ |
Limits of the adaptive grid. | |
long | currentGridSize_ |
Current size of the adaptive grid. | |
int | mostCrowdedHypercube_ |
int | numberOfFunctions_ |
int | depth_ |
double * | upperBestFitness_ |
double * | lowerBestFitness_ |
Private Attributes | |
int * | increment_ |
double * | tmpDivisionSize_ |
|
Constructor of the class Definition at line 16 of file AdaptiveGrid.cpp. |
|
Constructor of the class Definition at line 24 of file AdaptiveGrid.cpp. References currentGridSize_, depth_, divisionSize_, gridLimits_, hypercube_, increment_, lowerBestFitness_, numberOfFunctions_, tmpDivisionSize_, and upperBestFitness_. |
|
Destructor of the class Definition at line 58 of file AdaptiveGrid.cpp. |
|
Definition at line 113 of file AdaptiveGrid.cpp. References depth_, divisionSize_, Individual::getFitness(), increment_, lowerBestFitness_, numberOfFunctions_, and tmpDivisionSize_. Referenced by Paes::start(), and updateGridLocations(). |
|
Definition at line 65 of file AdaptiveGrid.cpp. References depth_, divisionSize_, findLocation(), Individual::getFitness(), Population::getIth(), Population::getPopulationSize(), Individual::gridLocation_, hypercube_, lowerBestFitness_, MAX_INT, MIN_INT, mostCrowdedHypercube_, numberOfFunctions_, and upperBestFitness_. Referenced by Paes::start(). |
|
Definition at line 27 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(). |
|
Definition at line 31 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(), findLocation(), and updateGridLocations(). |
|
Definition at line 25 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(), findLocation(), and updateGridLocations(). |
|
Definition at line 26 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(). |
|
Definition at line 24 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(), Paes::start(), and updateGridLocations(). |
|
Definition at line 50 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(), and findLocation(). |
|
Definition at line 34 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(), findLocation(), and updateGridLocations(). |
|
Definition at line 28 of file AdaptiveGrid.h. Referenced by Paes::archiveSolution(), and updateGridLocations(). |
|
Definition at line 30 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(), findLocation(), and updateGridLocations(). |
|
Definition at line 51 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(), and findLocation(). |
|
Definition at line 33 of file AdaptiveGrid.h. Referenced by AdaptiveGrid(), and updateGridLocations(). |