eoNDSorting_II< EOT > Class Template Reference

Fast Elitist Non-Dominant Sorting Genetic Algorithm. More...

#include <eoNDSorting.h>

Inheritance diagram for eoNDSorting_II< EOT >:

eoNDSorting< EOT > eoPerf2WorthCached< EOT, WorthT > eoPerf2Worth< EOT, WorthT > eoUF< A1, R > eoValueParam< std::vector< WorthT > > eoFunctorBase eoParam

List of all members.

Public Types

typedef std::pair< double,
unsigned > 

Public Member Functions

 eoNDSorting_II (bool nasty_flag_=false)
std::vector< double > niche_penalty (const std::vector< unsigned > &_cf, const eoPop< EOT > &_pop)
 _cf points into the elements that consist of the current front


class  compare_nodes

Detailed Description

template<class EOT>
class eoNDSorting_II< EOT >

Fast Elitist Non-Dominant Sorting Genetic Algorithm.

Adapted from Deb, Agrawal, Pratab and Meyarivan: A Fast Elitist Non-Dominant Sorting Genetic Algorithm for MultiObjective Optimization: NSGA-II KanGAL Report No. 200001

Note that this class does not do the sorting per se, but the sorting of it worth_std::vector will give the right order

The crowding distance is calculated as the sum of the distances to the nearest neighbours. As we need to return the penalty value, we have to invert that and invert it again in the base class, but such is life, sigh

Definition at line 434 of file eoNDSorting.h.

The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:48 2009 for EvolvingObjects by  doxygen 1.5.5