2. Evolutionary Tools

2.1. Operators

The operator set does the minimum job for transforming or selecting individuals. This means, for example, that providing two individuals to the crossover will transform those individuals in-place. The responsibility of making offspring(s) independent of their parent(s) and invalidating the fitness is left to the user and is generally fulfilled in the algorithms by calling toolbox.clone() on an individuals to duplicate it and del on the values attribute of the individual’s fitness to invalidate to invalidate this last one.

Here is a list of the implemented operators in DEAP.

Initialization Crossover Mutation Selection Migration
initRepeat() cxOnePoint() mutGaussian() selTournament() migRing()
initIterate() cxTwoPoints() mutShuffleIndexes() selRoulette()
initCycle() cxUniform() mutFlipBit() selNSGA2()
genFull() cxPartialyMatched() mutESLogNormal() selSPEA2()
genGrow() cxUniformPartialyMatched() mutUniform() selRandom()
genRamped() cxBlend() mutTypedUniform() selBest()
cxESBlend() mutTypedNodeReplacement() selWorst()
cxESTwoPoints() mutTypedEphemeral()
cxSimulatedBinary() mutShrink()
cxMessyOnePoint() mutTypedInsert()
cxUniformOnePoint()
cxTypedOnePoint()
cxOnePointLeafBiased()
cxTypedOnePointLeafBiased()

2.1.1. Initialization

2.1.2. Crossover

2.1.3. Mutation

2.1.4. Selection

2.1.5. Migration

2.2. Statistics

2.3. Hall-Of-Fame

2.4. Checkpoint

2.5. History

2.6. Other