CSIM: SpikingNeuron Class Reference

SpikingNeuron Class Reference

#include <spikingneuron.h>

Inheritance diagram for SpikingNeuron:

Neuron Forceable SynapseTarget Advancable csimClass CbNeuron IfbNeuron Izhi_Neuron LifBurstNeuron LifNeuron SpikingInputNeuron CbHHOuINeuron CbHHOuNeuron CbNeuronSt HHNeuron TraubsHHNeuron ExtOutLifNeuron LifNeuronSynchan bNACNeuron cACNeuron CbStOuNeuron dNACNeuron bNACOUNeuron cACOUNeuron dNACOUNeuron List of all members.

Detailed Description

Base class for all spiking neurons, i.e. spike emitting objects.

It maintains a list of emitted spikes. Outgoing synapses are granted to have access to this list to implement arbitrary long transmission delays. This is a memory efficient implementation since it would need more memory (for long delays)to store the spikes at each individual synapse.

Public Member Functions

  • virtual ~SpikingNeuron ()
    The destructor clears the list of spikes.
  • virtual void reset (void)
    Reset the SpikingNeuron.
  • virtual int fired (void)
    This method should return 1 (0) if the spiking neuron fired a spike during the current time step.
  • virtual int isRefractory (void)
    This method should return 1 (0) if the spiking neuron is in its absolute refractory period.
  • int nSpikes (void)
    Return the number of spikes the object has emitted since t=0.
  • double spikeTime (int i)
    Return the time of the i-th spike.
  • void copySpikes (double *buffer)
    Copy the array of spike times to the given buffer.
  • virtual int addIncoming (Advancable *S)
    Add an incoming synapse S.
  • virtual int addOutgoing (Advancable *S)
    Add an outgoing synapse S and check whether S is derived from SpikingSynapse.

Protected Attributes

  • bool hasFired
    Should be set to true (false) during an implementation of nextstate() if the neuron fires (does not fire).

Private Member Functions

  • void propagateSpike (void)
    Notifies all spike destination about the spike at SimulationTime.
  • void saveSpike (void)
    Add a spike at SimulationTime to the internal spike time list.

Private Attributes

  • bool outSpike
    If true (false) all spike detinations will be informed about a spike at SimulationTime.
  • double * Spikes
    An array of all spikes emitted.
  • int nEmittedSpikes
    Number of spikes emited.
  • int nSpikesAlloc
    Number of spikes which can currently be hold by the array.

Friends

Classes

  • struct SpikeDest
    Structure holding all information necessay to rout a spike to its target. More...

 
(C) 2003, Thomas Natschläger last modified 07/10/2006