From 771567428c0ae79e17b2ec42c4ad00853ffb2941 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Wed, 25 Jun 2014 20:18:21 +0200 Subject: Fixed greek character issue --- .classpath | 2 +- src/jcgp/backend/modules/es/MuPlusLambda.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.classpath b/.classpath index 3e0fb27..ed47876 100644 --- a/.classpath +++ b/.classpath @@ -1,7 +1,7 @@ - + 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); } -- cgit v1.2.3