EvolvingObjects
|
All Individuals in order. More...
#include <eoSequentialSelect.h>
Public Member Functions | |
eoEliteSequentialSelect () | |
Ctor: sets the current pter to numeric_limits<unsigned>::max() so init will take place first time not very elegant, maybe ... | |
void | setup (const eoPop< EOT > &_pop) |
virtual function to setup some population stats (for instance eoProportional can benefit greatly from this) | |
virtual const EOT & | operator() (const eoPop< EOT > &_pop) |
The pure virtual function that needs to be implemented by the subclass. | |
Private Attributes | |
unsigned | current |
std::vector< const EOT * > | eoPters |
All Individuals in order.
The best individual first, then the others in sequence (random order). for G3 evolution engine, see Deb, Anad and Joshi, CEC 2002
As eoSequentialSelect, it is an eoSelectOne to be used within the eoEaseyEA algo, but conceptually it should be a global eoSelect, as it selects a bunch of guys in one go (done in the setup function now)
Definition at line 101 of file eoSequentialSelect.h.