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