EvolvingObjects
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 unary_function

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 EOT & operator() (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 175 of file eoSelectFromWorth.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends