org.simnet.synapses
Class RandomSynapse
java.lang.Object
org.simnet.interfaces.Synapse
org.simnet.synapses.RandomSynapse
- All Implemented Interfaces:
- GaugeSource
public class RandomSynapse
- extends Synapse
RandomSynapse.
|
Constructor Summary |
RandomSynapse()
Default constructor needed for external calls which create neurons then set their parameters. |
RandomSynapse(Synapse n)
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. |
| 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 |
RandomSynapse
public RandomSynapse()
- Default constructor needed for external calls which create neurons then set their parameters.
RandomSynapse
public RandomSynapse(Synapse n)
- 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:
n - Synapse to be made of type
duplicate
public Synapse duplicate()
- Specified by:
duplicate in class Synapse
- Returns:
- duplicate RandomSynapse (used, e.g., in copy/paste).
update
public void update()
- Updates the synapse.
- Specified by:
update in class Synapse
getName
public static String getName()
- Returns:
- Name of synapse type.
getRandomizer
public RandomSource getRandomizer()
- Returns:
- Returns the randomizer.
setRandomizer
public void setRandomizer(RandomSource randomizer)
- Parameters:
randomizer - The randomizer to set.