aboutsummaryrefslogtreecommitdiffstats
path: root/src/jcgp/gui/population/GUIConnection.java
blob: 3a0ad6733a5d398e1c8bc18dea989c0a12ef080d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
	
	public void setLockRecursively(boolean value);
	
}