eoDeterministicSaDReplacement< EOT > Class Template Reference

eoDeterministicSaDReplacement: replacement strategy that is just, in sequence saves best and kill worse from parents + saves best and kill worse from offspring + merge remaining (neither save nor killed) parents and offspring + reduce that merged population = returns reduced pop + best parents + best offspring More...

#include <eoSurviveAndDie.h>

Inheritance diagram for eoDeterministicSaDReplacement< EOT >:

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

List of all members.

Public Member Functions

 eoDeterministicSaDReplacement (eoReduce< EOT > &_reduceGlobal, double _surviveParents, double _dieParents=0, double _surviveOffspring=0, double _dieOffspring=0, bool _interpret_as_rate=true)
 Constructor with reduce.
 eoDeterministicSaDReplacement (double _surviveParents, double _dieParents=0, double _surviveOffspring=0, double _dieOffspring=0, bool _interpret_as_rate=true)
 Constructor with default truncate used as reduce.
void operator() (eoPop< EOT > &_parents, eoPop< EOT > &_offspring)

Private Attributes

eoReduce< EOT > & reduceGlobal
eoDeterministicSurviveAndDie< EOTsAdParents
eoDeterministicSurviveAndDie< EOTsAdOffspring
eoPlus< EOTplus
eoTruncate< EOTtruncate


Detailed Description

template<class EOT>
class eoDeterministicSaDReplacement< EOT >

eoDeterministicSaDReplacement: replacement strategy that is just, in sequence saves best and kill worse from parents + saves best and kill worse from offspring + merge remaining (neither save nor killed) parents and offspring + reduce that merged population = returns reduced pop + best parents + best offspring

An obvious use is as strong elitist strategy, i.e. preserving best parents, and reducing (either offspring or parents+offspring)

Definition at line 132 of file eoSurviveAndDie.h.


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

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