diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-06-25 20:18:21 +0200 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-06-25 20:18:21 +0200 |
commit | 771567428c0ae79e17b2ec42c4ad00853ffb2941 (patch) | |
tree | 1bbf4b80c4fc2c96cf0808fccea1baca65d114a5 | |
parent | 2b571f08d091dc062cedbb9816c29dcf0cbd4f12 (diff) |
Fixed greek character issue
-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); } |