EvolvingObjects
|
eoWeakElitistReplacement: a wrapper for other replacement procedures. More...
#include <eoReplacement.h>
Public Types | |
typedef EOT::Fitness | Fitness |
Public Member Functions | |
eoWeakElitistReplacement (eoReplacement< EOT > &_replace) | |
void | operator() (eoPop< EOT > &_pop, eoPop< EOT > &_offspring) |
do replacement | |
Private Attributes | |
eoReplacement< EOT > & | replace |
eoWeakElitistReplacement: a wrapper for other replacement procedures.
to add elitism
Copies in the new pop the best individual from the old pop, AFTER normal replacement, if the best of the new pop is worse than the best of the old pop. Removes the worse individual from the new pop. This could be changed by adding a selector there...
Definition at line 104 of file eoReplacement.h.