Skip to content

Apply genetic operators

Martin Vyšňovský edited this page Apr 3, 2014 · 2 revisions

Apply genetic operators to individuals in current population.

var children = population.applyGeneticOperators(parents, method);

Parameters:

parents

Parents generated from getParents method.

method

  • uniform_mutation
  • number_of_mutated_values
  • extremal_mutation
  • number_of_mutated_values
  • shrink_mutation
  • max_shrink_size
  • growth_mutation
  • max_growth_size
  • swap_mutation
  • max_swap_size
  • replace_mutation
  • max_replace_size
  • max_insert_size

Clone this wiki locally