diff --git a/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java b/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java index 482d4bc6a..e6994b3d0 100644 --- a/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java +++ b/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java @@ -110,8 +110,8 @@ public class GeneticAlgorithm { *
  • With probability = {@link #getCrossoverRate()}, apply * configured {@link CrossoverPolicy} to parents
  • *
  • With probability = {@link #getMutationRate()}, apply - * configured {@link MutationPolicy} to each parent
  • - *
  • Add resulting chromosomes individually to nextGeneration, + * configured {@link MutationPolicy} to each of the offspring
  • + *
  • Add offspring individually to nextGeneration, * space permitting
  • * *
  • Return nextGeneration