aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/gui/population/GUIConnection.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jcgp/gui/population/GUIConnection.java')
-rw-r--r--src/jcgp/gui/population/GUIConnection.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/jcgp/gui/population/GUIConnection.java b/src/jcgp/gui/population/GUIConnection.java
index 5fc857b..c17033a 100644
--- a/src/jcgp/gui/population/GUIConnection.java
+++ b/src/jcgp/gui/population/GUIConnection.java
@@ -2,8 +2,23 @@ package jcgp.gui.population;
import jcgp.gui.population.GUIGene.GUIGeneState;
+/**
+ * A loose equivalent to {@link jcgp.backend.population.Connection}.
+ * <br>
+ * This defines behaviour that all GUI representations of connections
+ * should be capable of.
+ *
+ * @author Eduardo Pedroni
+ *
+ */
public interface GUIConnection {
+ /**
+ * Set the connection's state, but also recursively propagate that state
+ * all the way back to the inputs.
+ *
+ * @param state the state to set.
+ */
public void setStateRecursively(GUIGeneState state);
}