EvolvingObjects
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< eoPop< EOT > &, eoPop< EOT > &, void > eoFunctorBase binary_function

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 91 of file eoReduceSplit.h.


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