eoRouletteWorthSelect< EOT, WorthT > Class Template Reference

An instance of eoSelectPerf2Worth that does selection from the Worthes using a ... More...

#include <eoSelectFromWorth.h>

Inheritance diagram for eoRouletteWorthSelect< EOT, WorthT >:

eoSelectFromWorth< EOT, WorthT > eoSelectOne< EOT > eoUF< const eoPop< EOT > &, const EOT & > eoFunctorBase List of all members.

Public Types

typedef std::vector< WorthT
>::iterator 
worthIterator

Public Member Functions

 eoRouletteWorthSelect (eoPerf2Worth< EOT, WorthT > &_perf2Worth)
virtual 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)
 The pure virtual function that needs to be implemented by the subclass.

Private Attributes

double total

Detailed Description

template<class EOT, class WorthT = double>
class eoRouletteWorthSelect< EOT, WorthT >

An instance of eoSelectPerf2Worth that does selection from the Worthes using a ...

roulette wheel selection, yes!

Definition at line 167 of file eoSelectFromWorth.h.


The documentation for this class was generated from the following file:
Generated on Thu Oct 19 05:06:55 2006 for EO by  doxygen 1.3.9.1