EvolvingObjects
|
The original Non Dominated Sorting algorithm from Srinivas and Deb. More...
#include <eoNDSorting.h>
Public Member Functions | |
eoNDSorting_I (double _nicheSize, bool nasty_flag_=false) | |
std::vector< double > | niche_penalty (const std::vector< unsigned > ¤t_front, const eoPop< EOT > &_pop) |
Pure virtual function that calculates the 'distance' for each element in the current front Implement to create your own nondominated sorting algorithm. | |
Private Attributes | |
double | nicheSize |
The original Non Dominated Sorting algorithm from Srinivas and Deb.
Definition at line 380 of file eoNDSorting.h.
std::vector<double> eoNDSorting_I< EOT >::niche_penalty | ( | const std::vector< unsigned > & | current_front, |
const eoPop< EOT > & | _pop | ||
) | [inline, virtual] |
Pure virtual function that calculates the 'distance' for each element in the current front Implement to create your own nondominated sorting algorithm.
The size of the returned std::vector should be equal to the size of the current_front.
Implements eoNDSorting< EOT >.
Definition at line 385 of file eoNDSorting.h.