eoStochasticUniversalSelect< EOT > Class Template Reference

eoStochasticUniversalSelect: select an individual proportional to her stored fitness value, but in contrast with eoStochasticUniversalSelect, get rid of most finite sampling effects by doing all selections in one go, using a single random number. More...

#include <eoStochasticUniversalSelect.h>

Inheritance diagram for eoStochasticUniversalSelect< EOT >:

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

List of all members.

Public Member Functions

 eoStochasticUniversalSelect (const eoPop< EOT > &pop=eoPop< EOT >())
 Sanity check.
void setup (const eoPop< EOT > &_pop)
 virtual function to setup some population stats (for instance eoProportional can benefit greatly from this)
const EOToperator() (const eoPop< EOT > &_pop)
 do the selection,

Private Types

typedef std::vector< unsigned > IndexVec

Private Attributes

IndexVec indices


Detailed Description

template<class EOT>
class eoStochasticUniversalSelect< EOT >

eoStochasticUniversalSelect: select an individual proportional to her stored fitness value, but in contrast with eoStochasticUniversalSelect, get rid of most finite sampling effects by doing all selections in one go, using a single random number.

Definition at line 44 of file eoStochasticUniversalSelect.h.


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

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