From 0dbf126fc524bc029d9f5803d849b7c8f43fe389 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Thu, 3 Apr 2014 15:29:24 +0100 Subject: Visual feedback for parameters implemented. --- src/jcgp/backend/modules/fitness/TestCaseEvaluator.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/jcgp/backend/modules/fitness') 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 getLocalParameters() { + public Parameter[] getLocalParameters() { return null; } -- cgit v1.2.3