Skip to content

Mutator

JD edited this page Jan 18, 2022 · 1 revision

Mutator

The mutator can replace the genomes of an organism with a new one

Atm. you can choose between 2 mutators:

Enum

  • MUTATOR_THRESHOLD
  • MUTATOR_RANDOM

Adjustable Parameters:

  • setMutationRate(const unsigned percent) : sets the percent of organisms, which will replaced by the mutator.

Config Values:

These values are valid for all variants of Mutators.

Config Key Type (Limits) Definition
mutatorType int (0-1) 0 = RandomMutator / 1 = ThresholdMutator (recommended by Dr. Hintze)
mutationRate float (< 1) Mutationrate. 0 = no Mutation, 1 = every Organism will mutate every round

Clone this wiki locally