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/ChromosomePane.java11
-rw-r--r--src/jcgp/gui/population/FunctionSelector.java8
2 files changed, 18 insertions, 1 deletions
diff --git a/src/jcgp/gui/population/ChromosomePane.java b/src/jcgp/gui/population/ChromosomePane.java
index d9154fc..1e04c37 100644
--- a/src/jcgp/gui/population/ChromosomePane.java
+++ b/src/jcgp/gui/population/ChromosomePane.java
@@ -12,6 +12,15 @@ import jcgp.backend.population.Node;
import jcgp.backend.resources.Resources;
import jcgp.gui.GUI;
+/**
+ * This extension of {@code ScrollPane} contains a series of
+ * nodes, inputs and outputs spread across a grid. It also contains
+ * all of the connection lines overlaid over the nodes, inputs and outputs.
+ *
+ *
+ * @author Eduardo Pedroni
+ *
+ */
public class ChromosomePane extends ScrollPane {
private GUINode[][] guiNodes;
@@ -169,7 +178,7 @@ public class ChromosomePane extends ScrollPane {
}
/**
- * @return the evaluating
+ * @return the evaluating attribute.
*/
public boolean isEvaluating() {
return parent.isEvaluating();
diff --git a/src/jcgp/gui/population/FunctionSelector.java b/src/jcgp/gui/population/FunctionSelector.java
index 69d0d31..0e6c6bb 100644
--- a/src/jcgp/gui/population/FunctionSelector.java
+++ b/src/jcgp/gui/population/FunctionSelector.java
@@ -7,6 +7,14 @@ import javafx.scene.layout.VBox;
import jcgp.backend.function.FunctionSet;
import jcgp.gui.GUI;
+/**
+ * A menu class, exposes all of the allowed functions
+ * when called by a node, so that the node function can be changed.
+ *
+ *
+ * @author Eduardo Pedroni
+ *
+ */
public class FunctionSelector extends VBox {
private GUINode target;