Module genetic_algorithm::extension

source ·
Expand description

When approacking a (local) optimum in the fitness score, the variation in the population goes down dramatically. This reduces the efficiency, but also has the risk of local optimum lock-in. To increase the variation in the population, an extension mechanisms can optionally be used

Structs§

  • Simulates a cambrian explosion. The controlling metric is fitness score cardinality in the population. When this cardinality drops to the threshold, the population is randomly mutated N number of rounds.
  • Simulates a cambrian explosion. The controlling metric is fitness score cardinality in the population. When this cardinality drops to the threshold, the population is randomly reduced using the survival_rate (fraction of population).
  • A version of MassExtinction, where only an adam and eve of current best chromosomes survive
  • A version of MassExtinction, where the extinct population is replaced by a random population
  • The placeholder for when no extension present

Enums§

Traits§