org.simnet.synapses
Class SubtractiveNormalizationSynapse
java.lang.Object
org.simnet.interfaces.Synapse
org.simnet.synapses.SubtractiveNormalizationSynapse
- All Implemented Interfaces:
- GaugeSource
public class SubtractiveNormalizationSynapse
- extends Synapse
SubtractiveNormalizationSynapse.
| Methods inherited from class org.simnet.interfaces.Synapse |
checkBounds, clip, decrementWeight, duplicate, getDelay, getGaugeValue, getId, getIncrement, getLowerBound, getParent, getSource, getSpikeResponder, getStrength, getSynapseTypeIndex, getTarget, getType, getTypeList, getUpperBound, getValue, incrementWeight, init, initSpikeResponder, randomize, reinforce, setDelay, setId, setIncrement, setLowerBound, setParent, setSource, setSpikeResponder, setStrength, setTarget, setUpperBound, toString, weaken |
SubtractiveNormalizationSynapse
public SubtractiveNormalizationSynapse()
- Default constructor needed for external calls which create neurons then set their parameters.
SubtractiveNormalizationSynapse
public SubtractiveNormalizationSynapse(Synapse s)
- This constructor is used when creating a neuron of one type from another neuron of another type Only values
common to different types of neuron are copied.
- Parameters:
s - Synapse to make of the type
SubtractiveNormalizationSynapse
public SubtractiveNormalizationSynapse(Neuron source,
Neuron target)
- Creates a weight connecting source and target neurons.
- Parameters:
source - source neurontarget - target neuron
getName
public static String getName()
- Returns:
- Name of synapse type.
duplicate
public Synapse duplicate()
- Specified by:
duplicate in class Synapse
- Returns:
- duplicate SubtractiveNormalizationSynapse (used, e.g., in copy/paste).
update
public void update()
- Updates the syanpse.
- Specified by:
update in class Synapse
getLearningRate
public double getLearningRate()
- Returns:
- Returns the momentum.
setLearningRate
public void setLearningRate(double momentum)
- Parameters:
momentum - The momentum to set.