public class RunningAverageRule extends NeuronUpdateRule
NeuronUpdateRule.InputType
DEFAULT_INCREMENT, increment, inputType
Constructor and Description |
---|
RunningAverageRule() |
Modifier and Type | Method and Description |
---|---|
RunningAverageRule |
deepCopy()
Returns a deep copy of the update rule.
|
java.lang.String |
getDescription()
Returns a brief description of this update rule.
|
double |
getRateConstant() |
Network.TimeType |
getTimeType()
Returns the type of time update (discrete or continuous) associated with
this neuron.
|
void |
init(Neuron neuron) |
void |
setRateConstant(double rateConstant) |
void |
update(Neuron neuron)
Apply the update rule.
|
clear, contextualDecrement, contextualIncrement, decrementActivation, getDefaultIncrement, getGraphicalLowerBound, getGraphicalUpperBound, getIncrement, getInputType, getRandomValue, getToolTipText, incrementActivation, isSkipsSynapticUpdates, isSpikingNeuron, setIncrement, setInputType
public Network.TimeType getTimeType()
getTimeType
in class NeuronUpdateRule
public void init(Neuron neuron)
neuron
- public RunningAverageRule deepCopy()
deepCopy
in class NeuronUpdateRule
public void update(Neuron neuron)
update
in class NeuronUpdateRule
neuron
- parent neuronpublic double getRateConstant()
public void setRateConstant(double rateConstant)
rateConstant
- Parameter to be set.public java.lang.String getDescription()
NeuronUpdateRule
getDescription
in class NeuronUpdateRule