public class ThreeValueRule extends NeuronUpdateRule
NeuronUpdateRule.InputType
DEFAULT_INCREMENT, increment, inputType
Constructor and Description |
---|
ThreeValueRule() |
Modifier and Type | Method and Description |
---|---|
ThreeValueRule |
deepCopy()
Returns a deep copy of the update rule.
|
double |
getBias() |
java.lang.String |
getDescription()
Returns a brief description of this update rule.
|
double |
getGraphicalLowerBound()
Returns a value for lower bound to be used in computing the saturation of
neuron nodes.
|
double |
getGraphicalUpperBound()
Returns a value for upper bound to be used in computing the saturation of
neuron nodes.
|
double |
getLowerThreshold() |
double |
getLowerValue() |
double |
getMiddleValue() |
double |
getRandomValue()
Returns a random value between the upper and lower bounds of this neuron.
|
Network.TimeType |
getTimeType()
Returns the type of time update (discrete or continuous) associated with
this neuron.
|
double |
getUpperThreshold() |
double |
getUpperValue() |
void |
setBias(double bias) |
void |
setLowerThreshold(double lowerThreshold) |
void |
setLowerValue(double lowerValue) |
void |
setMiddleValue(double middleValue) |
void |
setUpperThreshold(double upperThreshold) |
void |
setUpperValue(double upperValue) |
void |
update(Neuron neuron)
Apply the update rule.
|
clear, contextualDecrement, contextualIncrement, decrementActivation, getDefaultIncrement, getIncrement, getInputType, getToolTipText, incrementActivation, isSkipsSynapticUpdates, isSpikingNeuron, setIncrement, setInputType
public Network.TimeType getTimeType()
getTimeType
in class NeuronUpdateRule
public ThreeValueRule deepCopy()
deepCopy
in class NeuronUpdateRule
public void update(Neuron neuron)
update
in class NeuronUpdateRule
neuron
- parent neuronpublic double getRandomValue()
getRandomValue
in class NeuronUpdateRule
public double getBias()
public void setBias(double bias)
bias
- The bias to set.public double getLowerThreshold()
public void setLowerThreshold(double lowerThreshold)
lowerThreshold
- The lower threshold to set.public double getLowerValue()
public void setLowerValue(double lowerValue)
lowerValue
- The lower value to set.public double getMiddleValue()
public void setMiddleValue(double middleValue)
middleValue
- The middle value to set.public double getUpperThreshold()
public void setUpperThreshold(double upperThreshold)
upperThreshold
- The upper threshold to set.public double getUpperValue()
public void setUpperValue(double upperValue)
upperValue
- The upper value to set.public java.lang.String getDescription()
NeuronUpdateRule
getDescription
in class NeuronUpdateRule
public double getGraphicalLowerBound()
NeuronUpdateRule
getGraphicalLowerBound
in class NeuronUpdateRule
public double getGraphicalUpperBound()
NeuronUpdateRule
getGraphicalUpperBound
in class NeuronUpdateRule