public class NeuronWithMemory extends Neuron
DEFAULT_UPDATE_RULE, PRE_ALLOCATED_NUM_SYNAPSES
Constructor and Description |
---|
NeuronWithMemory(Network parent,
java.lang.String updateRule) |
Modifier and Type | Method and Description |
---|---|
double |
getLastActivation() |
void |
setActivation(double act)
Sets the activation of the neuron if it is not clamped.
|
void |
setBuffer(double d)
Temporary buffer which can be used for algorithms which should not depend
on the order in which neurons are updated.
|
addAfferent, addEfferent, clear, debug, deepCopy, deleteConnectedSynapses, deleteFanIn, deleteFanOut, forceSetActivation, getActivation, getAuxValue, getAverageInput, getBuffer, getFanIn, getFanInList, getFanOut, getFanOutList, getId, getInputValue, getLabel, getLowerBound, getNetwork, getNumberOfActiveInputs, getParentGroup, getPolarity, getPosition, getRuleList, getSpkBuffer, getSummedIncomingWeights, getSynapticInput, getTargetValue, getTimeType, getToolTipText, getTotalInput, getType, getUpdatePriority, getUpdateRule, getUpdateRuleDescription, getUpperBound, getWeightedInputs, getX, getY, getZ, isClamped, isConnected, isGenerator, isPolarized, isSpike, normalizeExcitatoryFanIn, normalizeFanIn, normalizeInhibitoryFanIn, offset, postUnmarshallingInit, randomize, randomizeBias, randomizeBuffer, randomizeFanIn, randomizeFanOut, removeAfferent, removeEfferent, setAuxValue, setClamped, setGenerator, setId, setIncrement, setInputValue, setLabel, setLocation, setLowerBound, setParentGroup, setPolarity, setPosition, setSpike, setSpkBuffer, setTargetValue, setToBufferVals, setUpdatePriority, setUpdateRule, setUpdateRule, setUpperBound, setX, setY, setZ, toString, update, updateFanIn
public NeuronWithMemory(Network parent, java.lang.String updateRule)
parent
- updateRule
- public void setActivation(double act)
Neuron
forceSetActivation(double)
. Under normal circumstances model classes
will use this method.setActivation
in class Neuron
act
- Activationpublic void setBuffer(double d)
Neuron
public double getLastActivation()