This class implements an active variable that has support for sending out
VariableChangeEvents and for sending itself a TimeEvent, therefore being an
active variable container.
This method adds another input to this Neuron, but the given input
object does not have to be a Synpase, it just has to be some object
implementing NeuronOutput.
This class is used for debugging purposes, mainly for printing debug traces dependent on a trace level
and for assertions (which will be supported natively in JDK 1.4 as soon as
it becomes stable).
Debug() -
Constructor for class mosaic.sim.neuron.Debug
This method draws a piecewise linear function which has to be given as
a linear list containing points in the world (not graphics) space as
Point2D.Double objects.
Calculates and returns the time when the function, starting with the
given startValue as offset and when restricted to the first numSegments
segments, reaches 0.
Returns the value of the function at the time of last gradient
change before the given simulation time (computing all linear
segments that have ended before the current simulation time).
This function is called by the post-synaptic neuron to retrieve the
parameters which describe how the neuron potential changes because of
the receives spike event.
This implementation of Synapse.getResponseParameters returns an object
of type PLFunction, i.e. 2 one-dimensional arrays describing the
piecewise linear response function of this synapse.
This class reads an image and converts it to either a one-dimensional vector
of dimension height*width or a two-dimensional matrix of dimension
[height, width].
This class receives vector or matrix output events from some spike decoder
and transforms the values into an image, which is immediately saved in the
file given to the constructor.
Merges the synaptic response of an input synapse (probably caused by a
spike received by that synapse) with the current potential function,
thus forming a new potential function.
This class represents a neuron, which is able to fire spike events (thus
it implements the NeuronOutput interface) and receive spikes indirectly via
Synapses.
Neuron() -
Constructor for class mosaic.sim.neuron.Neuron
This class is a decorator for output listeners, enabling the filtering of
output events:
- first of all, it can pass only the first event and filter out all
subsequent ones
- secondly, events can be forwarded when the have reached an equilibrium,
i.e. they do not change anymore within a given error range
The constructor intializes the filter.
Overrides the default behaviour of reset by also clearing the internal
buffers for the future potential function (actually just setting the
length to zero).
This method calculates the next firing time of this neuron (by using
the method computeTimeOfFire) and schedules the neuron for activation
at this time if a firing occurs or deactivates it if no firing will
occur.
This class implements a scrolling spike view where spikes are simply drawn
as vertical lines marking the simulation time points when the spikes
occured.
Updates the current view (by calling scrollToSimulationTime with the
current simulation time) when no ViewSynchronizer is associated or
uses to associated ViewSynchronizer to scroll all synchronized views.
Implementation of VariableChangeListener:
This method is called by the simulation framework whenever a
variable that this object is listening on changes.