EvolvingObjects
|
Straightforward elitism class, specify the number of individuals to copy into new geneneration or the rate w.r.t. More...
#include <eoMerge.h>
Public Member Functions | |
eoElitism (double _rate, bool _interpret_as_rate=true) | |
void | operator() (const eoPop< EOT > &_pop, eoPop< EOT > &_offspring) |
The pure virtual function that needs to be implemented by the subclass. | |
Private Attributes | |
double | rate |
unsigned | combien |
Straightforward elitism class, specify the number of individuals to copy into new geneneration or the rate w.r.t.
pop size