diff options
-rw-r--r-- | .classpath | 2 | ||||
-rw-r--r-- | src/jcgp/backend/modules/es/MuPlusLambda.java | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/java"/> <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> <classpathentry kind="output" path="bin"/> </classpath> diff --git a/src/jcgp/backend/modules/es/MuPlusLambda.java b/src/jcgp/backend/modules/es/MuPlusLambda.java index c2981cb..fa7abf5 100644 --- a/src/jcgp/backend/modules/es/MuPlusLambda.java +++ b/src/jcgp/backend/modules/es/MuPlusLambda.java @@ -39,7 +39,7 @@ public class MuPlusLambda extends EvolutionaryStrategy { */ public MuPlusLambda(final Resources resources) { super(resources); - mu = new IntegerParameter(1, "Parents (μ)") { + mu = new IntegerParameter(1, "Parents (\u03BC)") { @Override public void validate(Number newValue) { if (newValue.intValue() + lambda.get() != getResources().populationSize()) { @@ -54,7 +54,7 @@ public class MuPlusLambda extends EvolutionaryStrategy { } }; - lambda = new IntegerParameter(4, "Offspring (λ)") { + lambda = new IntegerParameter(4, "Offspring (\u03BB)") { @Override public void validate(Number newValue) { if (newValue.intValue() + mu.get() != getResources().populationSize()) { @@ -71,7 +71,7 @@ public class MuPlusLambda extends EvolutionaryStrategy { report = new BooleanParameter(false, "Report"); - setName("(μ + λ)"); + setName("(\u03BC + \u03BB)"); registerParameters(mu, lambda, report); } |