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

List of all members.

Public Member Functions

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

Private Attributes

eoRanking< EOT > ranking

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 42 of file eoRankingSelect.h.


Constructor & Destructor Documentation

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

Ctor:

Parameters:
_pthe selective pressure, should be in [1,2] (2 is the default)
_eexponent (1 == linear)

Definition at line 49 of file eoRankingSelect.h.


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