EvolvingObjects
eoWeakElitistReplacement< EOT > Class Template Reference

eoWeakElitistReplacement: a wrapper for other replacement procedures. More...

#include <eoReplacement.h>

Inheritance diagram for eoWeakElitistReplacement< EOT >:
eoReplacement< EOT > eoBF< eoPop< EOT > &, eoPop< EOT > &, void > eoFunctorBase binary_function

List of all members.

Public Types

typedef EOT::Fitness Fitness

Public Member Functions

 eoWeakElitistReplacement (eoReplacement< EOT > &_replace)
void operator() (eoPop< EOT > &_pop, eoPop< EOT > &_offspring)
 do replacement

Private Attributes

eoReplacement< EOT > & replace

Detailed Description

template<class EOT>
class eoWeakElitistReplacement< EOT >

eoWeakElitistReplacement: a wrapper for other replacement procedures.

to add elitism

Copies in the new pop the best individual from the old pop, AFTER normal replacement, if the best of the new pop is worse than the best of the old pop. Removes the worse individual from the new pop. This could be changed by adding a selector there...

Definition at line 104 of file eoReplacement.h.


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