diff options
Diffstat (limited to 'src/jcgp/ea')
-rw-r--r-- | src/jcgp/ea/StandardEA.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jcgp/ea/StandardEA.java b/src/jcgp/ea/StandardEA.java index f401d9c..b34c421 100644 --- a/src/jcgp/ea/StandardEA.java +++ b/src/jcgp/ea/StandardEA.java @@ -6,8 +6,11 @@ import jcgp.population.Population; public class StandardEA implements EvolutionaryAlgorithm { @Override - public void evolve(Population population, Mutator mutator) { + public void evolve(Population population, Mutator mutator) { + Chromosome select; for (Chromosome chromosome : population) { + + mutator.mutate(chromosome); } } |