EvolvingObjects
|
Contains the following classes: More...
#include <eoSequentialSelect.h>
Public Member Functions | |
eoSequentialSelect (bool _ordered=true) | |
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 | |
bool | ordered |
unsigned | current |
std::vector< const EOT * > | eoPters |
Contains the following classes:
Looping back to the beginning when exhausted, can be from best to worse, or in random order.
It is the eoSelectOne equivalent of eoDetSelect - though eoDetSelect always returns individuals from best to worst
Definition at line 54 of file eoSequentialSelect.h.