In file EO++.h:

template <class EOT> class EOCrowding : public EOReplace<EOT>

Each one of the new population substitutes the most similar of the old population

Inheritance:


Public Methods

EOCrowding( unsigned _howmany )
Void ctor
virtual void operator) ( EOPop<EOT>& _in, EOPop<EOT>& _out )
Creates and returns the genetic pool of the reproducers; substitutes the closest one
virtual ~EOCrowding()
Needed virtual destructor

Inherited from EOReplace:


Documentation

Each one of the new population substitutes the most similar of the old population. First described by De Jong, and mentioned, for instance, in Michalewicz
The gene type must have the - and * operators defined, and a ctor that takes 0 as an argument, to be able to compute distances. The EO type must have also the readGene and length method.
EOCrowding( unsigned _howmany )
Void ctor

virtual ~EOCrowding()
Needed virtual destructor

virtual void operator) ( EOPop<EOT>& _in, EOPop<EOT>& _out )
Creates and returns the genetic pool of the reproducers; substitutes the closest one


This class has no child classes.

alphabetic index hierarchy of classes


BinOp