|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.interfaces.Synapse
org.simnet.synapses.SignalSynapse
public class SignalSynapse
SignalSynapse is a catchall name for a connection which carries a special signal, e.g. a reward signal, a training signal, or some other value that a source or target neuronn could make use of. Currently used by LMS neuron. If the label is filled in it can also be used to "measure" activity in another cell.
| Field Summary |
|---|
| Fields inherited from class org.simnet.interfaces.Synapse |
|---|
id, increment, lowerBound, NUM_PARAMETERS, source, spikeResponder, strength, target, upperBound |
| Constructor Summary | |
|---|---|
SignalSynapse()
Default constructor needed for external calls which create neurons then set their parameters. |
|
SignalSynapse(Neuron source,
Neuron target)
Creates a weight connecting source and target neurons. |
|
SignalSynapse(Neuron src,
Neuron tar,
double val,
String theId)
Creates a weight of some value connecting two neurons. |
|
SignalSynapse(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. |
|
| Method Summary | |
|---|---|
Synapse |
duplicate()
|
String |
getLabel()
|
static String |
getName()
|
double |
getValue()
For spiking source neurons, returns the spike-responder's value times the synapse strength For non-spiking neurons, returns the pre-synaptic activation times the synapse strength. |
void |
setLabel(String label)
Sets the signal synapse label. |
void |
update()
Update the synapse. |
| 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, incrementWeight, init, initSpikeResponder, randomize, reinforce, setDelay, setId, setIncrement, setLowerBound, setParent, setSource, setSpikeResponder, setStrength, setTarget, setUpperBound, toString, weaken |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SignalSynapse(Neuron src,
Neuron tar,
double val,
String theId)
src - source neurontar - target neuronval - initial weight valuetheId - Id of synapse
public SignalSynapse(Neuron source,
Neuron target)
source - source neurontarget - target neuronpublic SignalSynapse()
public SignalSynapse(Synapse s)
s - Synapse to make of the type| Method Detail |
|---|
public Synapse duplicate()
duplicate in class Synapsepublic void update()
update in class Synapsepublic static String getName()
public double getValue()
Synapse
getValue in class SynapseSynapsepublic String getLabel()
public void setLabel(String label)
label - Signal synapse label
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||