|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--neuroidnet.ntr.Synapse
Presynaptic connection to a Neuroid.
Neuroid,
Serialized Form| Nested Class Summary | |
(package private) class |
Synapse.Weight
|
| Field Summary | |
(package private) double |
delay
Axonal delay associated with this synapse (simplified). |
(package private) Neuroid |
destNeuroid
Postsynaptic neuroid |
(package private) int |
id
Identifier number of this synapse as index in the list of synapses at the postsynaptic neuroid, therefore in reference to that neuroid. |
(package private) boolean |
isInhibitory
|
static double |
maxWeight
Constant maxWeight is the upper limit any synapse weight can have. |
(package private) SynapseProfile |
profile
|
(package private) Vector |
spikeTrain
List of times when spikes are received |
(package private) Neuroid |
srcNeuroid
Presynaptic neuroid. |
(package private) double |
timeConstantM
Synapse constant dynamic properties. |
(package private) double |
timeConstantS
Synapse constant dynamic properties. |
(package private) boolean |
watch
If set, it saves information about its (weight) changes. |
Synapse.Weight |
weight
Incoming weight. |
| Constructor Summary | |
Synapse(Neuroid srcNeuroid,
Neuroid destNeuroid,
double timeConstantM,
double timeConstantS,
boolean isInhibitory,
double delay)
Creates a new Synapse instance. |
|
Synapse(Neuroid srcNeuroid,
Neuroid destNeuroid,
Synapse templateSynapse)
Creates a new Synapse instance with help of a templateSynapse. |
|
| Method Summary | |
String |
dumpData()
Deprecated. Use plots instead. |
double |
getDelay()
Get the value of delay. |
Neuroid |
getDestNeuroid()
Get the value of destNeuroid. |
int |
getId()
Get the value of id. |
(package private) double |
getPotential()
Total effect of potentiation from Synapse. |
SynapseProfile |
getProfile()
Get the value of profile. |
String |
getProperties()
Describe in higher detail. |
Vector |
getSpikeTrain()
Get the value of spikeTrain. |
Neuroid |
getSrcNeuroid()
Get the value of srcNeuroid. |
String |
getStatus()
Include output of toString() plus potential and weight. |
double |
getTimeConstantM()
Get the value of timeConstantM. |
double |
getTimeConstantS()
Get the value of timeConstantS. |
double |
getWeight()
Get the value from weight. |
Synapse.Weight |
getWeightObject()
Returns a reference to the weight object. |
private void |
init()
Initialization code called from various constructors. |
(package private) boolean |
isPotentiated()
Returns true if Synapse received a spike a short time back. |
boolean |
isWatch()
Get the value of watch. |
(package private) double |
kernel(double time)
Synapse effect kernel function taken from "Pulsed neural networks" of Maass and Bishop 1999, Eq 1.49, p.31 for equivalence to the integrate and fire model and its period calculation. |
String |
nameString()
|
void |
receiveSpike()
Receive a spike at this time instant. |
void |
setDelay(double v)
Set the value of delay. |
void |
setDestNeuroid(Neuroid v)
Set the value of destNeuroid. |
void |
setId(int v)
Set the value of id. |
void |
setProfile(SynapseProfile v)
Set the value of profile. |
void |
setSrcNeuroid(Neuroid v)
Set the value of srcNeuroid. |
void |
setTimeConstantM(double v)
Set the value of timeConstantM. |
void |
setTimeConstantS(double v)
Set the value of timeConstantS. |
void |
setWatch(boolean v)
Set the value of watch. |
void |
setWeight(double v)
Set the value of weight. |
String |
statusString()
|
String |
toString()
Identifies the synapse using id and destNeuroid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
final Vector spikeTrain
int id
toStringboolean isInhibitory
double timeConstantM
Synapse(neuroidnet.ntr.Neuroid, neuroidnet.ntr.Neuroid, neuroidnet.ntr.Synapse)double timeConstantS
double delay
delay is required for the phasesegregator.Network
phasesegregator.Networkpublic Synapse.Weight weight
Neuroid srcNeuroid
Neuroid destNeuroid
public static final double maxWeight
maxWeight is the upper limit any synapse weight can have.
setWeight(double),
Constant Field ValuesSynapseProfile profile
boolean watch
| Constructor Detail |
public Synapse(Neuroid srcNeuroid,
Neuroid destNeuroid,
double timeConstantM,
double timeConstantS,
boolean isInhibitory,
double delay)
Synapse instance. Attaches itself to
destNeuroid. Default weight is 1.
One can create a synapse template for using later by giving null for the
destneuroid.
TODO: timeConstantM might need to be associated with the neuroid, but then we lose the flexibility of assigning synapses with different time constants. In "Brief history of time constants" by C. Koch et al. it is claimed that synaptic effects change according to location of synapse on dendridic arbor.
destNeuroid - a Neuroid valuetimeConstantM - a double valuetimeConstantS - a double valueNeuroid.synapses
public Synapse(Neuroid srcNeuroid,
Neuroid destNeuroid,
Synapse templateSynapse)
Synapse instance with help of a templateSynapse.
Attaches itself to destNeuroid
destNeuroid - a Neuroid valuetemplateSynapse - a Synapse valueNeuroid.synapses| Method Detail |
public Vector getSpikeTrain()
public int getId()
public void setId(int v)
v - Value to assign to id.public double getTimeConstantM()
public void setTimeConstantM(double v)
v - Value to assign to timeConstantM.public double getTimeConstantS()
public void setTimeConstantS(double v)
v - Value to assign to timeConstantS.public double getDelay()
public void setDelay(double v)
v - Value to assign to delay.public Synapse.Weight getWeightObject()
weight object.
Weight valuepublic double getWeight()
weight.
weightpublic void setWeight(double v)
weight.
v - Value to assign to weight.weightpublic Neuroid getSrcNeuroid()
public void setSrcNeuroid(Neuroid v)
v - Value to assign to srcNeuroid.public Neuroid getDestNeuroid()
public void setDestNeuroid(Neuroid v)
v - Value to assign to destNeuroid.public SynapseProfile getProfile()
public void setProfile(SynapseProfile v)
v - Value to assign to profile.public boolean isWatch()
public void setWatch(boolean v)
v - Value to assign to watch.private final void init()
Synapse to destNeuroid.synapses
unless it's a template synapse.
ntr.Neuroid#synapsespublic void receiveSpike()
Neuroid.
Remove old spikes from spikeTrain unless under watch.
receiveSpike in interface SynapseIntNeuroid.fire(),
watchdouble kernel(double time)
time - a double value.
double getPotential()
boolean isPotentiated()
true if potential before multiplication with weight is
above an arbitrary value (0.5)public String toString()
id and destNeuroid.
toString in interface ExpressivetoString in class ObjectString valuepublic String nameString()
public String getStatus()
toString() plus potential and weight.
TODO: get the potential from a variable instead of calling getPotential
getStatus in interface ExpressiveString valueExpressive.toString()public String statusString()
public String getProperties()
getProperties in interface ExpressiveString valueExpressive.getStatus()public String dumpData()
dumpData in interface DumpsDataString value of matlab code
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||