diff options
Diffstat (limited to 'src/jcgp/gui/population/PopulationPane.java')
-rw-r--r-- | src/jcgp/gui/population/PopulationPane.java | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/jcgp/gui/population/PopulationPane.java b/src/jcgp/gui/population/PopulationPane.java index 4b1b7f8..31f6c33 100644 --- a/src/jcgp/gui/population/PopulationPane.java +++ b/src/jcgp/gui/population/PopulationPane.java @@ -43,25 +43,13 @@ public class PopulationPane extends TabPane { } } - public void unlockOutputs() { - for (int i = 0; i < getTabs().size(); i++) { - ((ChromosomePane) getTabs().get(i).getContent()).unlockOutputs(); - } - } - - public void relockOutputs() { - for (int i = 0; i < getTabs().size(); i++) { - ((ChromosomePane) getTabs().get(i).getContent()).relockOutputs(); - } - } - public void evaluateTestCase(TestCase<Object> testCase) { if (gui.getExperiment().getProblem() instanceof TestCaseProblem && testCase != null) { currentTestCase = testCase; if (testCase.getInputs().length == gui.getExperiment().getResources().inputs()) { evaluating = true; for (int i = 0; i < getTabs().size(); i++) { - ((ChromosomePane) getTabs().get(i).getContent()).setInputs(testCase.getInputs()); + //((ChromosomePane) getTabs().get(i).getContent()).setInputs(testCase.getInputs()); } } else { throw new IllegalArgumentException("Test case has " + testCase.getInputs().length @@ -73,7 +61,7 @@ public class PopulationPane extends TabPane { public void hideValues() { evaluating = false; for (int i = 0; i < getTabs().size(); i++) { - ((ChromosomePane) getTabs().get(i).getContent()).updateValues(); + //((ChromosomePane) getTabs().get(i).getContent()).updateValues(); } } |