diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-20 09:10:05 +0100 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-20 09:10:05 +0100 |
commit | bf1243df0ba0255269173c9bd74e292f5f5934d0 (patch) | |
tree | fc679d01e22b94a0cf24319313fbf00d536fee3d /src | |
parent | f13ebf70037a6aa28dc53804c1f0cef6e2f23102 (diff) |
Removed some commented out code
Diffstat (limited to 'src')
-rw-r--r-- | src/jcgp/gui/population/ChromosomePane.java | 13 | ||||
-rw-r--r-- | src/jcgp/gui/population/GUINode.java | 3 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/jcgp/gui/population/ChromosomePane.java b/src/jcgp/gui/population/ChromosomePane.java index d40de2e..d9154fc 100644 --- a/src/jcgp/gui/population/ChromosomePane.java +++ b/src/jcgp/gui/population/ChromosomePane.java @@ -154,19 +154,6 @@ public class ChromosomePane extends ScrollPane { updateValues(); } -// public void evaluate(int start) { -// if (start >= 0 || start < columns) { -// for (int c = 0; c < columns; c++) { -// for (int r = 0; r < rows; r++) { -// guiNodes[r][c].updateText(); -// } -// } -// for (int o = 0; o < guiOutputs.length; o++) { -// guiOutputs[o].updateText(); -// } -// } -// } - public void updateValues() { for (int i = 0; i < guiInputs.length; i++) { guiInputs[i].updateText(); diff --git a/src/jcgp/gui/population/GUINode.java b/src/jcgp/gui/population/GUINode.java index d3ae27f..3fadbdd 100644 --- a/src/jcgp/gui/population/GUINode.java +++ b/src/jcgp/gui/population/GUINode.java @@ -129,7 +129,6 @@ public class GUINode extends GUIGene { /* * Mouse event handlers on whole gene */ - addEventFilter(MouseEvent.MOUSE_CLICKED, new EventHandler<MouseEvent>() { @Override public void handle(MouseEvent event) { @@ -399,7 +398,6 @@ public class GUINode extends GUIGene { node.setConnection(connectionIndex, newConnection); if (parent.isEvaluating()) { parent.updateValues(); -// parent.evaluate(node.getColumn()); } } @@ -462,7 +460,6 @@ public class GUINode extends GUIGene { public void setFunction(Function function) { node.setFunction(function); if (parent.isEvaluating()) { -// parent.evaluate(node.getColumn()); parent.updateValues(); } else { updateText(); |