public class NeuronPotential extends Function
A Function that calculates the potential of a SpikingNeuron. The neuron potential
in time step t is a function of all spikes in a neurons spike history with a timestamp < t.
If the neuron potential reaches a threshold T from below, the neuron generates a spike.
Function.AboutEqual, Function.AtLeast, Function.AtMost, Function.CatmullRomSpline, Function.Clip, Function.Composition, Function.Exponential, Function.GreaterThan, Function.Identity, Function.LessThan, Function.NaturalSpline, Function.NotImplemented, Function.ReLU, Function.Scaled, Function.Sigmoid, Function.Signum, Function.SignumWithoutZero, Function.Sinus, Function.SoftMax, Function.Spline, Function.TanH| Constructor and Description |
|---|
NeuronPotential(SpikeEventQueue emitted,
SpikeEventQueue received)
Creates an instance of
NeuronPotential with the given spike history. |
| Modifier and Type | Method and Description |
|---|---|
NeuronPotential |
clone()
Returns a deep copy of this
NeuronPotential. |
double |
getMaxValue()
Return the largest possible function value.
|
double |
getMinValue()
Return the smallest possible function value.
|
double |
map(double t)
Map a value through the function.
|
double |
mapDerivative(double t)
Map a value through the first derivative of this function.
|
double |
mapSecondDerivative(double t)
Map a value through the second derivative of this function.
|
create, fromXML, setParameters, toXMLpublic NeuronPotential(SpikeEventQueue emitted, SpikeEventQueue received)
NeuronPotential with the given spike history.emitted - the queue that holds the emitted spikesreceived - the queue that holds the received spikespublic NeuronPotential clone()
NeuronPotential.
The clone has no references to SpikeEventQueues.
They need to be re-initialized.public double map(double t)
Functionpublic double mapDerivative(double t)
FunctionmapDerivative in class Functionpublic double mapSecondDerivative(double t)
FunctionmapSecondDerivative in class Functionpublic double getMinValue()
FunctiongetMinValue in class Functionpublic double getMaxValue()
FunctiongetMaxValue in class Function