From 4c8de2402f2878cde7587c7f3bbf4ffaea86efd4 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Sat, 26 Apr 2014 19:56:24 +0100 Subject: Moved files around to different folders, and commented some more packages. Aiming to have the entire backend fully commented by the end of today --- src/jcgp/backend/modules/es/MuPlusLambda.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/jcgp/backend/modules/es') diff --git a/src/jcgp/backend/modules/es/MuPlusLambda.java b/src/jcgp/backend/modules/es/MuPlusLambda.java index 50bf265..754e89b 100644 --- a/src/jcgp/backend/modules/es/MuPlusLambda.java +++ b/src/jcgp/backend/modules/es/MuPlusLambda.java @@ -75,6 +75,11 @@ public class MuPlusLambda implements EvolutionaryStrategy { }; } + @Override + public Parameter[] getLocalParameters() { + return new Parameter[] {mu, lambda, report}; + } + @Override public void evolve(Population population, Mutator mutator, Resources resources) { /* Population is sorted in ascending order of fitness, so leave the last @@ -94,11 +99,6 @@ public class MuPlusLambda implements EvolutionaryStrategy { if (report.get()) resources.reportln("[ES] Generation is complete"); } - @Override - public Parameter[] getLocalParameters() { - return new Parameter[] {mu, lambda, report}; - } - @Override public String toString() { return "(μ + λ)"; -- cgit v1.2.3