SimpleScalingSpikingSynapse Class Reference

#include <SimpleScalingSpikingSynapse.h>

Inheritance diagram for SimpleScalingSpikingSynapse:

Inheritance graph
[legend]
Collaboration diagram for SimpleScalingSpikingSynapse:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimpleScalingSpikingSynapse (int targetID=1, float W=1e-9f, float delay=2e-4f)
virtual ~SimpleScalingSpikingSynapse ()
virtual double getManagedDelay () const
virtual int spikeHit (spikeport_t port, SpikeEvent const &spike)
virtual int advance (AdvanceInfo const &ai)
 Calculate the next state and output/propagate the result to succesors/outgoing objects.
virtual SimObjectgetChainedObject ()
 Returns a pointer to the SimObject that this Simobject is attached/mounted to.
virtual void outgoing (SimObject *receiver)
 Connects the synapse to the postsynaptic object which must be a synaptic target.
virtual int nSpikeInputPorts () const
virtual int nSpikeOutputPorts () const
virtual int nAnalogInputPorts () const
virtual int nAnalogOutputPorts () const
virtual PortType inputPortType (port_t i) const

Public Attributes

float W
 The weight (scaling factor, strenght, maximal amplitude) of the synapse.
float delay
 The synaptic transmission delay.

Static Public Attributes

static const int exc = 1
static const int inh = 2
static const int currExc = 1
static const int currInh = 2
static const int condExc = 3
static const int condInh = 4

Protected Attributes

SimObjecttarget
int target_id


Detailed Description

Definition at line 7 of file SimpleScalingSpikingSynapse.h.


Constructor & Destructor Documentation

SimpleScalingSpikingSynapse::SimpleScalingSpikingSynapse ( int  targetID = 1,
float  W = 1e-9f,
float  delay = 2e-4f 
)

Definition at line 10 of file SimpleScalingSpikingSynapse.cpp.

SimpleScalingSpikingSynapse::~SimpleScalingSpikingSynapse (  )  [virtual]

Definition at line 14 of file SimpleScalingSpikingSynapse.cpp.


Member Function Documentation

double SimpleScalingSpikingSynapse::getManagedDelay (  )  const [virtual]

Reimplemented from SimObject.

Definition at line 17 of file SimpleScalingSpikingSynapse.cpp.

References delay.

int SimpleScalingSpikingSynapse::spikeHit ( spikeport_t  port,
SpikeEvent const &  spike 
) [virtual]

Function to be called if the object is hit by a spike Called by spike exchange mechanims if a spike hits (arrives at) the object A return value of greater 0 indicates that the object is currently not active and the sim engine has to put this object into its list of active spike receivers. A return value of 0 indicates the the object is currently active (i.e. is already in the list of active receviers) and need not to be put into the list of active synapses.

Reimplemented from SimObject.

Definition at line 22 of file SimpleScalingSpikingSynapse.cpp.

References SimObject::spikeHit(), target, and W.

Here is the call graph for this function:

int SimpleScalingSpikingSynapse::advance ( AdvanceInfo const &   )  [virtual]

Calculate the next state and output/propagate the result to succesors/outgoing objects.

The return value of advance contains several bits of information which can be decoded with the bit masks ADVANCEFLAG_* like ADVANCEFLAG_HASSPIKED and ADVANCEFLAG_DEACTIVATE.

Reimplemented from SimObject.

Definition at line 27 of file SimpleScalingSpikingSynapse.cpp.

References ADVANCEFLAG_DEACTIVATE.

SimObject * SimpleScalingSpikingSynapse::getChainedObject (  )  [virtual]

Returns a pointer to the SimObject that this Simobject is attached/mounted to.

If the SpikeDriven SimObject actually is mounted on another spikedriven object, Then this method is used to get the chain of all the objects that are to be activated because of the spike.

Reimplemented from SimObject.

Definition at line 32 of file SimpleScalingSpikingSynapse.cpp.

References target.

void SimpleScalingSpikingSynapse::outgoing ( SimObject receiver  )  [virtual]

Connects the synapse to the postsynaptic object which must be a synaptic target.

Reimplemented from SimObject.

Definition at line 38 of file SimpleScalingSpikingSynapse.cpp.

References SimObject::getInputTarget(), target, and target_id.

Here is the call graph for this function:

int SimpleScalingSpikingSynapse::nSpikeInputPorts (  )  const [virtual]

Reimplemented from SimObject.

Definition at line 43 of file SimpleScalingSpikingSynapse.cpp.

int SimpleScalingSpikingSynapse::nSpikeOutputPorts (  )  const [virtual]

Reimplemented from SimObject.

Definition at line 48 of file SimpleScalingSpikingSynapse.cpp.

int SimpleScalingSpikingSynapse::nAnalogInputPorts (  )  const [virtual]

Reimplemented from SimObject.

Definition at line 53 of file SimpleScalingSpikingSynapse.cpp.

int SimpleScalingSpikingSynapse::nAnalogOutputPorts (  )  const [virtual]

Reimplemented from SimObject.

Definition at line 58 of file SimpleScalingSpikingSynapse.cpp.

SimObject::PortType SimpleScalingSpikingSynapse::inputPortType ( port_t  i  )  const [virtual]

Reimplemented from SimObject.

Definition at line 63 of file SimpleScalingSpikingSynapse.cpp.

References SimObject::spiking, and SimObject::undefined.


Member Data Documentation

Definition at line 11 of file SimpleScalingSpikingSynapse.h.

Definition at line 12 of file SimpleScalingSpikingSynapse.h.

Definition at line 13 of file SimpleScalingSpikingSynapse.h.

Definition at line 14 of file SimpleScalingSpikingSynapse.h.

Definition at line 15 of file SimpleScalingSpikingSynapse.h.

Definition at line 16 of file SimpleScalingSpikingSynapse.h.

The weight (scaling factor, strenght, maximal amplitude) of the synapse.

Definition at line 24 of file SimpleScalingSpikingSynapse.h.

Referenced by spikeHit().

The synaptic transmission delay.

As the synaptic transmission delay we understand the time between a signal (spike or analog signal) is generated in the presynaptic object and the time of the onset of the postsynaptic response.

Definition at line 31 of file SimpleScalingSpikingSynapse.h.

Referenced by getManagedDelay().

Definition at line 55 of file SimpleScalingSpikingSynapse.h.

Referenced by getChainedObject(), outgoing(), and spikeHit().

Definition at line 56 of file SimpleScalingSpikingSynapse.h.

Referenced by outgoing().


The documentation for this class was generated from the following files:

Generated on Wed Jul 9 16:34:53 2008 for PCSIM by  doxygen 1.5.5