public interface PlasticNodeTermination extends Termination
Modifier and Type | Method and Description |
---|---|
PlasticNodeTermination |
clone() |
PlasticNodeTermination |
clone(Node node)
Clone method that changes necessary parameters to point to a new parent,
for use in cloning ensembles, etc.
|
InstantaneousOutput |
getInput() |
float |
getOutput() |
float[] |
getWeights() |
void |
modifyWeights(float[] change,
boolean save) |
void |
saveWeights()
Save the current state of the weights so it can be reset there
|
void |
setWeights(float[] weights,
boolean save) |
getDimensions, getModulatory, getName, getNode, getTau, setModulatory, setTau, setValues
reset
float[] getWeights()
void setWeights(float[] weights, boolean save)
weights
- The new synaptic weights for each input channelsave
- Should the weights be saved for resetting purposes?void modifyWeights(float[] change, boolean save)
change
- The change in the synaptic weights for each input channelsave
- Should the weights be saved for resetting purposes?void saveWeights()
InstantaneousOutput getInput()
getInput
in interface Termination
float getOutput()
PlasticNodeTermination clone() throws java.lang.CloneNotSupportedException
clone
in interface Termination
java.lang.CloneNotSupportedException
- if clone can't be madePlasticNodeTermination clone(Node node) throws java.lang.CloneNotSupportedException
Termination
clone
in interface Termination
node
- New parent nodejava.lang.CloneNotSupportedException
- if clone cannot be made