1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package jcgp.ea; import jcgp.population.Population; public interface EvolutionaryAlgorithm { // protected Mutator mutator; // // public EvolutionaryAlgorithm(Mutator mutator) { // this.mutator = mutator; // } public abstract void evolve(Population population, Mutator mutator); }