public class PointNeuronRule extends NeuronUpdateRule implements SynapseListener, BiasedUpdateRule
Modifier and Type | Class and Description |
---|---|
static class |
PointNeuronRule.OutputFunction
Output functions.
|
NeuronUpdateRule.InputType
DEFAULT_INCREMENT, increment, inputType
Constructor and Description |
---|
PointNeuronRule() |
Modifier and Type | Method and Description |
---|---|
void |
clear(Neuron neuron)
Set activation to 0; override for other "clearing" behavior (e.g.
|
PointNeuronRule |
deepCopy()
Returns a deep copy of the update rule.
|
double |
getBias() |
java.lang.String |
getDescription()
Returns a brief description of this update rule.
|
int |
getDuration() |
double |
getExcitatoryConductance() |
double |
getExcitatoryCurrent() |
double |
getExcitatoryMaxConductance() |
double |
getExcitatoryReversal() |
double |
getGain() |
double |
getInhibitoryConductance() |
double |
getInhibitoryMaxConductance() |
double |
getInhibitoryReversal() |
double |
getInhibitoryThresholdConductance()
Returns the inhibitory conductance that would set this point neuron's
voltage at its threshold potential.
|
double |
getLeakConductance() |
double |
getLeakMaxConductance() |
double |
getLeakReversal() |
double |
getMembranePotential() |
double |
getNetTimeConstant() |
PointNeuronRule.OutputFunction |
getOutputFunction() |
double |
getPotentialTimeConstant() |
double |
getRandomValue()
Returns a random value between the upper and lower bounds of this neuron.
|
double |
getRefractoryPotential() |
double |
getThresholdPotential() |
Network.TimeType |
getTimeType()
Returns the type of time update (discrete or continuous) associated with
this neuron.
|
java.lang.String |
getToolTipText(Neuron neuron)
Returns string for tool tip or short description.
|
void |
init(Neuron neuron) |
void |
setBias(double bias) |
void |
setDuration(int duration) |
void |
setExcitatoryConductance(double excitatoryConductance) |
void |
setExcitatoryCurrent(double excitatoryCurrent) |
void |
setExcitatoryInputs(java.util.ArrayList<Synapse> excitatoryInputs) |
void |
setExcitatoryMaxConductance(double excitatoryMaxConductance) |
void |
setExcitatoryReversal(double excitatoryReversal) |
void |
setGain(double gain) |
void |
setInhibitoryConductance(double inhibitoryConductance) |
void |
setInhibitoryMaxConductance(double inhibitoryMaxConductance) |
void |
setInhibitoryReversal(double inhibitoryReversal) |
void |
setLeakConductance(double leakConductance) |
void |
setLeakMaxConductance(double leakMaxConductance) |
void |
setLeakReversal(double leakReversal) |
void |
setMembranePotential(double membranePotential) |
void |
setNetTimeConstant(double netTimeConstant) |
void |
setOutputFunction(PointNeuronRule.OutputFunction currentOutputFunction) |
void |
setPotentialTimeConstant(double potentialTimeConstant) |
void |
setRefractoryPotential(double refractoryPotential) |
void |
setThresholdPotential(double threshold) |
void |
synapseAdded(NetworkEvent<Synapse> networkEvent)
Notify this listener of a synapse added event.
|
void |
synapseChanged(NetworkEvent<Synapse> networkEvent)
Notify this listener that synapse's state changed.
|
void |
synapseRemoved(NetworkEvent<Synapse> networkEvent)
Notify this listener of a synapse removed event.
|
void |
synapseTypeChanged(NetworkEvent<SynapseUpdateRule> networkEvent)
Invoked when a synapse's update rule changes.
|
void |
update(Neuron neuron)
Apply the update rule.
|
contextualDecrement, contextualIncrement, decrementActivation, getDefaultIncrement, getGraphicalLowerBound, getGraphicalUpperBound, getIncrement, getInputType, incrementActivation, isSkipsSynapticUpdates, isSpikingNeuron, setIncrement, setInputType
public void init(Neuron neuron)
neuron
- public Network.TimeType getTimeType()
getTimeType
in class NeuronUpdateRule
public PointNeuronRule deepCopy()
deepCopy
in class NeuronUpdateRule
public void clear(Neuron neuron)
NeuronUpdateRule
clear
in class NeuronUpdateRule
neuron
- reference to parent neuronpublic void update(Neuron neuron)
update
in class NeuronUpdateRule
neuron
- parent neuronpublic double getRandomValue()
getRandomValue
in class NeuronUpdateRule
public double getInhibitoryThresholdConductance()
public java.lang.String getToolTipText(Neuron neuron)
NeuronUpdateRule
getToolTipText
in class NeuronUpdateRule
neuron
- reference to parent neuronpublic double getNetTimeConstant()
public void setNetTimeConstant(double netTimeConstant)
netTimeConstant
- the netTimeConstant to setpublic double getExcitatoryMaxConductance()
public void setExcitatoryMaxConductance(double excitatoryMaxConductance)
excitatoryMaxConductance
- the excitatoryMaxConductance to setpublic double getExcitatoryConductance()
public void setExcitatoryConductance(double excitatoryConductance)
excitatoryConductance
- the excitatoryConductance to setpublic double getMembranePotential()
public void setMembranePotential(double membranePotential)
membranePotential
- the membranePotential to setpublic double getExcitatoryReversal()
public void setExcitatoryReversal(double excitatoryReversal)
excitatoryReversal
- the excitatoryReversal to setpublic double getLeakReversal()
public void setLeakReversal(double leakReversal)
leakReversal
- the leakReversal to setpublic double getLeakMaxConductance()
public void setLeakMaxConductance(double leakMaxConductance)
leakMaxConductance
- the leakMaxConductance to setpublic double getLeakConductance()
public void setLeakConductance(double leakConductance)
leakConductance
- the leakConductance to setpublic double getPotentialTimeConstant()
public void setPotentialTimeConstant(double potentialTimeConstant)
potentialTimeConstant
- the potentialTimeConstant to setpublic PointNeuronRule.OutputFunction getOutputFunction()
public void setOutputFunction(PointNeuronRule.OutputFunction currentOutputFunction)
currentOutputFunction
- the currentOutputFunction to setpublic double getGain()
public void setGain(double gain)
gain
- the gain to setpublic double getThresholdPotential()
public void setThresholdPotential(double threshold)
threshold
- the threshold to setpublic double getRefractoryPotential()
public void setRefractoryPotential(double refractoryPotential)
refractoryPotential
- the refractoryPotential to setpublic void setExcitatoryInputs(java.util.ArrayList<Synapse> excitatoryInputs)
excitatoryInputs
- the excitatoryInputs to setpublic double getInhibitoryReversal()
public void setInhibitoryReversal(double inhibitoryReversal)
inhibitoryReversal
- the inhibitoryReversal to setpublic double getExcitatoryCurrent()
public void setExcitatoryCurrent(double excitatoryCurrent)
excitatoryCurrent
- the excitatoryCurrent to setpublic int getDuration()
public void setDuration(int duration)
duration
- the duration to setpublic double getInhibitoryConductance()
public void setInhibitoryConductance(double inhibitoryConductance)
inhibitoryConductance
- the inhibitoryConductance to setpublic double getInhibitoryMaxConductance()
public void setInhibitoryMaxConductance(double inhibitoryMaxConductance)
inhibitoryMaxConductance
- the inhibitoryMaxConductance to setpublic double getBias()
getBias
in interface BiasedUpdateRule
public void setBias(double bias)
setBias
in interface BiasedUpdateRule
bias
- the bias to setpublic void synapseAdded(NetworkEvent<Synapse> networkEvent)
synapseAdded
in interface SynapseListener
networkEvent
- reference to new synapsepublic void synapseChanged(NetworkEvent<Synapse> networkEvent)
synapseChanged
in interface SynapseListener
networkEvent
- reference to synapse whose state changedpublic void synapseRemoved(NetworkEvent<Synapse> networkEvent)
synapseRemoved
in interface SynapseListener
networkEvent
- eventpublic void synapseTypeChanged(NetworkEvent<SynapseUpdateRule> networkEvent)
synapseTypeChanged
in interface SynapseListener
networkEvent
- reference to to old and new synapse update rulepublic java.lang.String getDescription()
NeuronUpdateRule
getDescription
in class NeuronUpdateRule