1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
package jcgp.ea; import jcgp.population.Chromosome; import jcgp.population.Population; public class StandardEA extends EvolutionaryAlgorithm { public StandardEA(Mutator mutator) { super(mutator); } @Override public void evolve(Population population) { for (Chromosome chromosome : population) { mutator.mutate(chromosome); } } }