Skip to content

ThresholdMutator

JD edited this page Jan 18, 2022 · 1 revision

ThresholdMutator

This mutator will only replace the genome value in a threshold around the actual value

Enum

  • MUTATOR_THRESHOLD

Adjustable Parameters:

  • setMutationRate(const unsigned percent) : sets the percent of organisms, which will replaced by the mutator.
  • setThreshold(const float threshold) : sets the mutation threshold (0.0f - 1.0f)

Config Values:

Config Key Type (Limits) Definition
mutationRate int (0-100) Mutationrate. 0 = no Mutation, 100 = every Organism will mutate every round

Clone this wiki locally