aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/gui/population
diff options
context:
space:
mode:
Diffstat (limited to 'src/jcgp/gui/population')
-rw-r--r--src/jcgp/gui/population/PopulationPane.java6
1 files changed, 3 insertions, 3 deletions
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();
}
}