eoSequentialSelect< EOT > Class Template Reference

Contains the following classes: More...

#include <eoSequentialSelect.h>

Inheritance diagram for eoSequentialSelect< EOT >:

eoSelectOne< EOT, WorthT > eoUF< A1, R > eoFunctorBase

List of all members.

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 EOToperator() (const eoPop< EOT > &_pop)

Private Attributes

bool ordered
unsigned current
std::vector< const EOT * > eoPters


Detailed Description

template<class EOT>
class eoSequentialSelect< EOT >

Contains the following classes:

All Individuals in orderLooping 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 52 of file eoSequentialSelect.h.


Constructor & Destructor Documentation

template<class EOT>
eoSequentialSelect< EOT >::eoSequentialSelect ( bool  _ordered = true  )  [inline]

Ctor: sets the current pter to numeric_limits<unsigned>::max() so init will take place first time not very elegant, maybe .

..

Definition at line 58 of file eoSequentialSelect.h.


The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:50 2009 for EvolvingObjects by  doxygen 1.5.5