public class AdditiveRule extends NeuronUpdateRule
NeuronUpdateRule.InputType
DEFAULT_INCREMENT, increment, inputType
Constructor and Description |
---|
AdditiveRule() |
Modifier and Type | Method and Description |
---|---|
AdditiveRule |
deepCopy()
Returns a deep copy of the update rule.
|
boolean |
getAddNoise() |
java.lang.String |
getDescription()
Returns a brief description of this update rule.
|
double |
getLambda() |
Randomizer |
getNoiseGenerator() |
double |
getResistance() |
Network.TimeType |
getTimeType()
Returns the type of time update (discrete or continuous) associated with
this neuron.
|
void |
setAddNoise(boolean addNoise) |
void |
setLambda(double lambda) |
void |
setNoiseGenerator(Randomizer noise) |
void |
setResistance(double resistance) |
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 AdditiveRule deepCopy()
deepCopy
in class NeuronUpdateRule
public void update(Neuron neuron)
update
in class NeuronUpdateRule
neuron
- parent neuronpublic double getLambda()
public void setLambda(double lambda)
lambda
- The lambda to set.public double getResistance()
public void setResistance(double resistance)
resistance
- The resistance to set.public Randomizer getNoiseGenerator()
public void setNoiseGenerator(Randomizer noise)
noise
- The noise to set.public boolean getAddNoise()
public void setAddNoise(boolean addNoise)
addNoise
- The addNoise to set.public java.lang.String getDescription()
NeuronUpdateRule
getDescription
in class NeuronUpdateRule