#include <eoTruncatedSelectOne.h>
Inheritance diagram for eoTruncatedSelectOne< EOT >:

Public Member Functions | |
| eoTruncatedSelectOne (eoSelectOne< EOT > &_select, double _rateFertile, bool _interpret_as_rateF=true) | |
| Ctor from rate and bool. | |
| eoTruncatedSelectOne (eoSelectOne< EOT > &_select, eoHowMany _howManyFertile) | |
| Ctor with eoHowMany. | |
| void | setup (const eoPop< EOT > &_source) |
| setup procedures: fills the temporary population with the fertile guys | |
| const EOT & | operator() (const eoPop< EOT > &_pop) |
| The implementation selects an individual from the fertile pop. | |
Private Attributes | |
| eoSelectOne< EOT > & | select |
| eoHowMany | howManyFertile |
| eoPop< EOT > | tmpPop |
| eoPop< EOT > & | actualPop |
Therefore eoTruncatedSelectOne needs an eoSelectOne in its ctor
It will perform selection only from the top guys in the population.
Definition at line 45 of file eoTruncatedSelectOne.h.
| const EOT& eoTruncatedSelectOne< EOT >::operator() | ( | const eoPop< EOT > & | _pop | ) | [inline] |
The implementation selects an individual from the fertile pop.
| _source | the source population | |
| _dest | the selected guy |
Definition at line 98 of file eoTruncatedSelectOne.h.
References eoTruncatedSelectOne< EOT >::actualPop, and eoTruncatedSelectOne< EOT >::select.
1.4.7