eoLinearTruncateSplit< EOT > Class Template Reference

a ReduceSplit class that does not sort, but repeatidely kills the worse. More...

#include <eoReduceSplit.h>

Inheritance diagram for eoLinearTruncateSplit< EOT >:

eoReduceSplit< EOT > eoBF< A1, A2, R > eoFunctorBase

List of all members.

Public Member Functions

 eoLinearTruncateSplit (eoHowMany _howMany, bool _returnEliminated=false)
 Ctor: must provide amount of reduction, and whether or not you need to return the eliminated guys.
void operator() (eoPop< EOT > &_newgen, eoPop< EOT > &_eliminated)
 do the job

Private Attributes

eoHowMany howMany
bool returnEliminated


Detailed Description

template<class EOT>
class eoLinearTruncateSplit< EOT >

a ReduceSplit class that does not sort, but repeatidely kills the worse.

To be used in SSGA-like replacements (e.g. see eoSSGAWorseReplacement)

Definition at line 87 of file eoReduceSplit.h.


The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:47 2009 for EvolvingObjects by  doxygen 1.5.5