diff options
author | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-22 07:44:52 +0100 |
---|---|---|
committer | Eduardo Pedroni <ep625@york.ac.uk> | 2014-05-22 07:44:52 +0100 |
commit | 2b571f08d091dc062cedbb9816c29dcf0cbd4f12 (patch) | |
tree | 98505fe5fbd433eafe74a188f833b71a4627e08f /src/jcgp/gui/population | |
parent | 9aac9892b5c827e70c4598e0e052d10aad40a2d9 (diff) |
Final commit, will release later today.
Diffstat (limited to 'src/jcgp/gui/population')
-rw-r--r-- | src/jcgp/gui/population/ChromosomePane.java | 11 | ||||
-rw-r--r-- | src/jcgp/gui/population/FunctionSelector.java | 8 |
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; |