diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-04-03 15:29:24 +0100 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-04-03 15:29:24 +0100 |
commit | 0dbf126fc524bc029d9f5803d849b7c8f43fe389 (patch) | |
tree | 35d7c23b371614388cbb7a4bc247374759b95a33 /src/jcgp/backend/modules/fitness | |
parent | 02fd2bc7059da416937beb1abe67e5ca60379030 (diff) |
Visual feedback for parameters implemented.
Diffstat (limited to 'src/jcgp/backend/modules/fitness')
-rw-r--r-- | src/jcgp/backend/modules/fitness/TestCaseEvaluator.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/jcgp/backend/modules/fitness/TestCaseEvaluator.java b/src/jcgp/backend/modules/fitness/TestCaseEvaluator.java index 3b67f28..5ff6973 100644 --- a/src/jcgp/backend/modules/fitness/TestCaseEvaluator.java +++ b/src/jcgp/backend/modules/fitness/TestCaseEvaluator.java @@ -1,7 +1,5 @@ package jcgp.backend.modules.fitness; -import java.util.HashMap; - import jcgp.JCGP.Resources; import jcgp.backend.modules.ModuleStatus; import jcgp.backend.parameters.Parameter; @@ -10,7 +8,7 @@ import jcgp.backend.population.Population; public class TestCaseEvaluator implements FitnessFunction { @Override - public void evaluate(Population population, Resources resources) { + public void evaluate(Population population, Resources resources) { // for every chromosome in the population for (int i = 0; i < resources.getInt("popSize"); i++) { int fitness = 0; @@ -29,7 +27,7 @@ public class TestCaseEvaluator implements FitnessFunction { } @Override - public HashMap<String, Parameter> getLocalParameters() { + public Parameter[] getLocalParameters() { return null; } |