EvolvingObjects
eoRankMuSelect< EOT > Class Template Reference

Selects the "Mu" bests individuals. More...

#include <eoRankMuSelect.h>

Inheritance diagram for eoRankMuSelect< EOT >:
eoDetSelect< EOT > eoSelect< EOT > eoBF< const eoPop< EOT > &, eoPop< EOT > &, void > eoFunctorBase binary_function

List of all members.

Public Member Functions

 eoRankMuSelect (unsigned int mu)
void operator() (const eoPop< EOT > &source, eoPop< EOT > &dest)

Detailed Description

template<typename EOT>
class eoRankMuSelect< EOT >

Selects the "Mu" bests individuals.

Note: sorts the population before trucating it.

Definition at line 40 of file eoRankMuSelect.h.


Member Function Documentation

template<typename EOT >
void eoRankMuSelect< EOT >::operator() ( const eoPop< EOT > &  _source,
eoPop< EOT > &  _dest 
) [inline, virtual]
Parameters:
_sourcethe source population
_destthe resulting population (size of this population is given by the HowMany data It empties the destination and adds the selection into it)

Reimplemented from eoDetSelect< EOT >.

Definition at line 46 of file eoRankMuSelect.h.

References eoPop< EOT >::sort().


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