public class NetworkAdapter extends java.lang.Object implements NetworkListener
Constructor and Description |
---|
NetworkAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
setUpdateComplete(boolean b)
A way to tell listeners that their update is incomplete signaling that
they should update.
|
void |
updateNeurons()
Neuron states have been updated.
|
void |
updateNeurons(java.util.Collection<Neuron> neurons)
Neuron states in specified neurons have been updated.
|
void |
updateSynapses()
Synapse states have been updated.
|
void |
updateSynapses(java.util.Collection<Synapse> synapses)
Synapse states in specified synapses have been updated.
|
public void updateNeurons()
NetworkListener
updateNeurons
in interface NetworkListener
public void updateNeurons(java.util.Collection<Neuron> neurons)
NetworkListener
updateNeurons
in interface NetworkListener
neurons
- the list of neurons to update.public void updateSynapses()
NetworkListener
updateSynapses
in interface NetworkListener
public void updateSynapses(java.util.Collection<Synapse> synapses)
NetworkListener
updateSynapses
in interface NetworkListener
synapses
- the list of synapses to update.public void setUpdateComplete(boolean b)
NetworkListener
setUpdateComplete
in interface NetworkListener