Skip to content
Martin Vyšňovský edited this page Mar 16, 2014 · 1 revision

Replace current population with new one that is created from parents and children.

population.replacement(parents, children, method, options);

Parameters

parents

Parents generated from getParents method.

children

Children generated from parents by genetic operators.

method

  • generational
  • comma_strategy
  • newGenerationSize
  • separate_competition
  • newGenerationSize
  • plus_strategy
  • newGenerationSize

options

This argument is used only for some methods. See description for methods.

Clone this wiki locally