aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/modules/fitness
diff options
context:
space:
mode:
Diffstat (limited to 'src/jcgp/modules/fitness')
-rw-r--r--src/jcgp/modules/fitness/TestCaseEvaluator.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/jcgp/modules/fitness/TestCaseEvaluator.java b/src/jcgp/modules/fitness/TestCaseEvaluator.java
index cd131b5..77b282c 100644
--- a/src/jcgp/modules/fitness/TestCaseEvaluator.java
+++ b/src/jcgp/modules/fitness/TestCaseEvaluator.java
@@ -28,7 +28,17 @@ public class TestCaseEvaluator implements FitnessFunction {
}
@Override
- public HashMap<String, Parameter> activate(Resources parameters) {
+ public void activate(Resources parameters) {
+ // nothing
+ }
+
+ @Override
+ public HashMap<String, Parameter> getLocalParameters() {
return new HashMap<String, Parameter>();
}
+
+ @Override
+ public String toString() {
+ return "Test case";
+ }
}