eoRankingSelect< EOT > Class Template Reference

eoRankingSelect: select an individual by roulette wheel on its rank is an eoRouletteWorthSelect, i.e. More...

#include <eoRankingSelect.h>

Inheritance diagram for eoRankingSelect< EOT >:

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

Public Member Functions

 eoRankingSelect (double _p=2.0, double _e=1.0)
 Ctor:.

Private Attributes

eoRanking< EOTranking

Detailed Description

template<class EOT>
class eoRankingSelect< EOT >

eoRankingSelect: select an individual by roulette wheel on its rank is an eoRouletteWorthSelect, i.e.

a selector using a std::vector of worthes rather than the raw fitness (see eoSelectFromWorth.h) uses an internal eoRanking object which is an eoPerf2Worth<EOT, double>

Definition at line 41 of file eoRankingSelect.h.


Constructor & Destructor Documentation

template<class EOT>
eoRankingSelect< EOT >::eoRankingSelect double  _p = 2.0,
double  _e = 1.0
[inline]
 

Ctor:.

Parameters:
_p the selective pressure, should be in [1,2] (2 is the default)
_e exponent (1 == linear)

Definition at line 48 of file eoRankingSelect.h.


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