aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/modules/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/jcgp/modules/ea')
-rw-r--r--src/jcgp/modules/ea/StandardEA.java16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/jcgp/modules/ea/StandardEA.java b/src/jcgp/modules/ea/StandardEA.java
index 7e77977..1d27004 100644
--- a/src/jcgp/modules/ea/StandardEA.java
+++ b/src/jcgp/modules/ea/StandardEA.java
@@ -61,9 +61,19 @@ public class StandardEA implements EvolutionaryAlgorithm {
}
@Override
- public HashMap<String, Parameter> activate(Resources parameters) {
- parameters.setManagedParameter("popSize", true);
-
+ public void activate(Resources parameters) {
+ parameters.getParameter("popSize").setManaged(true);
+ }
+
+ @Override
+ public HashMap<String, Parameter> getLocalParameters() {
return localParameters;
}
+
+ @Override
+ public String toString() {
+ return "(μ + λ)";
+ }
+
+
}