# eoReplacement< EOT > Class Template Reference

`#include <eoReplacement.h>`

Inheritance diagram for eoReplacement< EOT >:

List of all members.

## Detailed Description

### template<class EOT>
class eoReplacement< EOT >

NOTE: 2 eoPop as arguments the resulting population should be in the first argument (replace parents by offspring)! The second argument can contain any rubbish

--- The eoMergeReduce, combination of eoMerge and eoReduce, can be found in file eoMergeReduce.h

The eoReduceMergeReduce that reduces the parents and the offspring, merges the 2 reduced populations, and eventually reduces that final population, can be found in eoReduceMergeReduce.h

LOG --- Removed the const before first argument: though it makes too many classes with the same interface, it allows to minimize the number of actual copies by choosing the right destination I also removed the enforced "swap" in the eoEasyAlgo and hence the generational replacement gets a class of its own that only does the swap (instead of the eoNoReplacement that did nothing, relying on the algo to swap popualtions). MS 12/12/2000

See also:
  eoMerge, eoReduce, eoMergeReduce, eoReduceMerge

eoReplacement, base (pure abstract) class eoGenerationalReplacement, as it says ... eoWeakElitistReplacement a wrapper to add elitism

Definition at line 77 of file eoReplacement.h.

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

- eoReplacement.h