Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages | Search for

# 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 >:

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 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:

- eoRankingSelect.h