public abstract class ModulatedPlasticEnsembleTermination extends PlasticEnsembleTermination
A Termination that is composed of Terminations onto multiple Nodes. The dimensions of the Terminations onto each Node must be the same.
Physiologically, this might correspond to a set of n axons passing into a neuron pool. Each neuron in the pool receives synaptic connections from as many as n of these axons (zero weight is equivalent to no connection). Sometimes we deal with this set of axons only in terms of the branches they send to one specific Neuron (a Node-level Termination) but here we deal with all branches (an Ensemble-level Termination). In either case the spikes transmitted by the axons are the same.
TODO: testModifier and Type | Field and Description |
---|---|
protected float[] |
myFilteredModInput |
protected float[] |
myModInput |
protected java.lang.String |
myModTermName |
myFilteredInput, myFilteredOutput, myInput, myLearning, myLearningRate, myOriginName, myOutput
Constructor and Description |
---|
ModulatedPlasticEnsembleTermination(Node node,
java.lang.String name,
PlasticNodeTermination[] nodeTerminations) |
Modifier and Type | Method and Description |
---|---|
ModulatedPlasticEnsembleTermination |
clone(Node node)
Clone method that changes necessary parameters to point to a new parent,
for use in cloning ensembles, etc.
|
java.lang.String |
getModTermName() |
void |
reset(boolean randomize) |
void |
setModTerminationState(java.lang.String name,
InstantaneousOutput state,
float time) |
void |
setModTermName(java.lang.String name) |
getFilteredOutput, getInput, getLearning, getLearningRate, getOriginName, getOutputs, getTransform, modifyTransform, saveTransform, setLearning, setLearningRate, setOriginName, setOriginState, setTerminationState, setTransform, updateFiltered, updateRaw, updateTransform
clone, getDimensions, getModulatory, getName, getNode, getNodeTerminations, getTau, setModulatory, setTau, setValues
protected java.lang.String myModTermName
protected float[] myModInput
protected float[] myFilteredModInput
public ModulatedPlasticEnsembleTermination(Node node, java.lang.String name, PlasticNodeTermination[] nodeTerminations) throws StructuralException
node
- The parent Nodename
- Name of this TerminationnodeTerminations
- Node-level Terminations that make up this Termination. Must be
all LinearExponentialTerminationsStructuralException
- If dimensions of different terminations are not all the samepublic java.lang.String getModTermName()
public void setModTermName(java.lang.String name)
name
- Name of the Termination from which modulatory input is drawn (can be null if not used)public void reset(boolean randomize)
reset
in interface Resettable
reset
in class PlasticEnsembleTermination
randomize
- True indicates that the object should be reset to a
randomly selected initial state (the object must be aware of the
distribution from which to draw from). False indicates that the
object should be reset to a fixed initial state (which it must
also know). Some objects may not support randomization of the initial
state, in which case a fixed state will be used in either case.Resettable.reset(boolean)
public void setModTerminationState(java.lang.String name, InstantaneousOutput state, float time) throws StructuralException
name
- Name of the termination from which modulatory input is drawnstate
- The state to settime
- Current timeStructuralException
- if modulatory termination does not existpublic ModulatedPlasticEnsembleTermination clone(Node node) throws java.lang.CloneNotSupportedException
Termination
clone
in interface Termination
clone
in class PlasticEnsembleTermination
node
- New parent nodejava.lang.CloneNotSupportedException
- if clone cannot be made