diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-03-26 21:34:37 +0000 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-03-26 21:34:37 +0000 |
commit | 2bf2d3ac2c578de481ecfd545d58be73c5628996 (patch) | |
tree | ec47cfeedaed5bf677cab1bc9e910782369fe127 /src/jcgp/modules/ea | |
parent | bc4fafb9d3c60993253f7e78c10338c901de653a (diff) |
Node grid has been refactored a few times, settings pane is almost complete, console is all done.
Diffstat (limited to 'src/jcgp/modules/ea')
-rw-r--r-- | src/jcgp/modules/ea/StandardEA.java | 16 |
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 "(μ + λ)"; + } + + } |