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

}