aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/ea/StandardEA.java
blob: f401d9c5a2adc3e0629e66a7357fe906f5bc5085 (plain)
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);
		}
	}

}