From b0c0698e5503c2506217117bf144fde31e6f6601 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Fri, 25 Apr 2014 19:38:16 +0100 Subject: Commented lots of packages. --- src/jcgp/gui/population/FunctionSelector.java | 2 +- src/jcgp/gui/population/GUINode.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/jcgp/gui/population') diff --git a/src/jcgp/gui/population/FunctionSelector.java b/src/jcgp/gui/population/FunctionSelector.java index 28eb54d..69d0d31 100644 --- a/src/jcgp/gui/population/FunctionSelector.java +++ b/src/jcgp/gui/population/FunctionSelector.java @@ -31,7 +31,7 @@ public class FunctionSelector extends VBox { for (int i = 0; i < fs.getAllowedFunctionCount(); i++) { final int index = i; - Label l = new Label(fs.getAllowedFunction(i).getName()); + Label l = new Label(fs.getAllowedFunction(i).toString()); l.setMaxWidth(Double.MAX_VALUE); l.setStyle("-fx-background-color: #FFFFFF; -fx-border-color: #A0A0A0; -fx-border-width: 0 0 1 0; -fx-padding: 2"); diff --git a/src/jcgp/gui/population/GUINode.java b/src/jcgp/gui/population/GUINode.java index f50edd3..731db8f 100644 --- a/src/jcgp/gui/population/GUINode.java +++ b/src/jcgp/gui/population/GUINode.java @@ -454,9 +454,9 @@ public class GUINode extends GUIGene { public void updateText() { if (parent.isEvaluating()) { - text.setText(node.getFunction().getName() + "\n" + value.toString()); + text.setText(node.getFunction() + "\n" + value.toString()); } else { - text.setText(node.getFunction().getName()); + text.setText(node.getFunction().toString()); } } -- cgit v1.2.3