From 2b571f08d091dc062cedbb9816c29dcf0cbd4f12 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Thu, 22 May 2014 07:44:52 +0100 Subject: Final commit, will release later today. --- src/jcgp/backend/modules/problem/Problem.java | 3 +-- src/jcgp/backend/modules/problem/TestCaseProblem.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/jcgp/backend/modules/problem') diff --git a/src/jcgp/backend/modules/problem/Problem.java b/src/jcgp/backend/modules/problem/Problem.java index 6785733..453e3a1 100644 --- a/src/jcgp/backend/modules/problem/Problem.java +++ b/src/jcgp/backend/modules/problem/Problem.java @@ -48,7 +48,7 @@ public abstract class Problem extends Module { * * @param resources a reference to the experiment's resources. */ - public Problem(Resources resources) { + protected Problem(Resources resources) { super(resources); maxFitness = new DoubleMonitor(0, "Max fitness"); @@ -72,7 +72,6 @@ public abstract class Problem extends Module { * if a GUI is in use. * * @param population the population to be evaluated. - * @param resources parameters and utilities for optional reference. */ public abstract void evaluate(Population population); diff --git a/src/jcgp/backend/modules/problem/TestCaseProblem.java b/src/jcgp/backend/modules/problem/TestCaseProblem.java index 964860c..82eb91a 100644 --- a/src/jcgp/backend/modules/problem/TestCaseProblem.java +++ b/src/jcgp/backend/modules/problem/TestCaseProblem.java @@ -71,7 +71,7 @@ public abstract class TestCaseProblem extends Problem { * * @param resources a reference to the experiment's resources. */ - public TestCaseProblem(Resources resources) { + protected TestCaseProblem(Resources resources) { super(resources); testCases = FXCollections.observableArrayList(); } -- cgit v1.2.3