From 88314e71f908efcfc38da3b800319c171a6ccceb Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Fri, 18 Apr 2014 09:08:41 +0100 Subject: Added parsers, did a bit of testing, switched to java8 --- src/jcgp/gui/population/PopulationPane.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/jcgp/gui/population') diff --git a/src/jcgp/gui/population/PopulationPane.java b/src/jcgp/gui/population/PopulationPane.java index 28b0ad9..5fa6067 100644 --- a/src/jcgp/gui/population/PopulationPane.java +++ b/src/jcgp/gui/population/PopulationPane.java @@ -38,19 +38,19 @@ public class PopulationPane extends TabPane { if (evaluating) { evaluateTestCase(currentTestCase); } - for (int i = 0; i < getChildrenUnmodifiable().size(); i++) { + for (int i = 0; i < getTabs().size(); i++) { ((ChromosomePane) getTabs().get(i).getContent()).updateGenes(); } } public void unlockOutputs() { - for (int i = 0; i < getChildrenUnmodifiable().size(); i++) { + for (int i = 0; i < getTabs().size(); i++) { ((ChromosomePane) getTabs().get(i).getContent()).unlockOutputs(); } } public void relockOutputs() { - for (int i = 0; i < getChildrenUnmodifiable().size(); i++) { + for (int i = 0; i < getTabs().size(); i++) { ((ChromosomePane) getTabs().get(i).getContent()).relockOutputs(); } } -- cgit v1.2.3