public class ExpandableSpikingNeuron extends SpikingNeuron implements ExpandableNode
VisiblyMutable.Event, VisiblyMutable.Listener, VisiblyMutable.NameChangeEvent, VisiblyMutable.NodeRemovedEvent
CURRENT
Constructor and Description |
---|
ExpandableSpikingNeuron(SynapticIntegrator integrator,
SpikeGenerator generator,
float scale,
float bias,
java.lang.String name)
Note: current = scale * (weighted sum of inputs at each termination) * (radial input) + bias.
|
Modifier and Type | Method and Description |
---|---|
Termination |
addDelayedTermination(java.lang.String name,
float[][] weights,
float tauPSC,
float delay,
boolean modulatory) |
Termination |
addTermination(java.lang.String name,
float[][] weights,
float tauPSC,
boolean modulatory)
Adds a new Termination onto this Node.
|
ExpandableSpikingNeuron |
clone() |
int |
getDimension() |
ExpandableSynapticIntegrator |
getSynapticIntegrator() |
Termination |
removeTermination(java.lang.String name) |
addChangeListener, fireVisibleChangeEvent, getBias, getChildren, getDocumentation, getGenerator, getHistory, getIntegrator, getMode, getName, getNoise, getOrigin, getOrigins, getScale, getTermination, getTerminations, listStates, notifyAboutDeletion, removeChangeListener, reset, run, setBias, setDocumentation, setGenerator, setIntegrator, setMode, setName, setNoise, setRadialInput, setScale, toScript
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren, getDocumentation, getName, getOrigin, getOrigins, getTermination, getTerminations, notifyAboutDeletion, run, setDocumentation, setName, toScript
reset
getMode, setMode
addChangeListener, removeChangeListener
public ExpandableSpikingNeuron(SynapticIntegrator integrator, SpikeGenerator generator, float scale, float bias, java.lang.String name)
integrator
- SynapticIntegrator used to model dendritic/somatic integration of inputs
to this Neuron (must be Plastic)generator
- SpikeGenerator used to model spike generation at the axon hillock of this
Neuronscale
- A coefficient that scales summed inputbias
- A bias current that models unaccounted-for inputs and/or intrinsic currentsname
- A unique name for this neuron in the context of the Network or Ensemble to which
it belongspublic Termination addTermination(java.lang.String name, float[][] weights, float tauPSC, boolean modulatory) throws StructuralException
ExpandableNode
addTermination
in interface ExpandableNode
name
- Unique name for the Termination (in the scope of this Node)weights
- Connection weights. Length must equal getDimension(). Each component
must have length equal to the dimension of the Origin that will connect to this Termination.tauPSC
- Time constant with which incoming signals are filtered. (All Terminations have
this property, but it may have slightly different interpretations per implementation.)modulatory
- If true, inputs to the Termination are not summed with other inputs (they
only have modulatory effects, eg on plasticity, which must be defined elsewhere).StructuralException
- if length of weights doesn't equal getDimension(),
or if there are different numbers of weights given in different rows.ExpandableNode.addTermination(java.lang.String, float[][], float, boolean)
public Termination addDelayedTermination(java.lang.String name, float[][] weights, float tauPSC, float delay, boolean modulatory) throws StructuralException
StructuralException
public int getDimension()
getDimension
in interface ExpandableNode
ExpandableNode.getDimension()
public Termination removeTermination(java.lang.String name) throws StructuralException
removeTermination
in interface ExpandableNode
name
- Name of Termination to remove.StructuralException
- if the Termination doesn't existExpandableNode.removeTermination(java.lang.String)
public ExpandableSynapticIntegrator getSynapticIntegrator()
public ExpandableSpikingNeuron clone() throws java.lang.CloneNotSupportedException
clone
in interface ExpandableNode
clone
in interface Node
clone
in class SpikingNeuron
java.lang.CloneNotSupportedException
- if clone can't be made