GenericEachPairStdpSynapse< BaseSyn > Class Template Reference

#include <GenericEachPairStdpSynapse.h>

Inheritance diagram for GenericEachPairStdpSynapse< BaseSyn >:

Inheritance graph
[legend]
Collaboration diagram for GenericEachPairStdpSynapse< BaseSyn >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GenericEachPairStdpSynapse ()
virtual ~GenericEachPairStdpSynapse ()
virtual double stdpLearning (const double &delta, const double &t_post, const double &t_pre, const double &t_prev_post, const double &t_prev_pre)=0
 Called for each pre and post spike with time difference delta=t_post-t_pre.
virtual double maxRelevantSpikeTimeDiff ()=0
virtual int reset (double dt)
virtual int spikeHit (spikeport_t port, SpikeEvent const &spike)
void preSpikeHit (SpikeEvent const &spike)
 Called if the pre-synaptic spikes hits the synapse and calls the learning function for each pair of pre-post spikes.
void postSpikeHit (SpikeEvent const &spike)
 Called if the post-synaptic spikes hits the synapse and calls the learning function for each pair of post-pre spikes.
virtual void incoming (SimObject *post, SimObject::ID const &postid, SimObject::ID const &self, SimNetwork &net)
 Connects the spike output port of the postsynaptic neuron to spike intpFroemke, R.C. and Dan, Y. (2002). Spike timing-dependent synaptic modification induced by natural spike trains. Nature 416, 433-438.ut port 1.
virtual SimObject::PortType inputPortType (port_t p) const

Public Attributes

int activeSTDP
 Set to 1 to activate STDP-learning. No learning is performed if set to 0.
float back_delay
 Delay of dendritic backpropagating spike (the synapse sees the postsynaptic spike delayed by back_delay [units=sec].
double Winit
 The initial value of the synapse weight [units=none; range = (0,1e6);].


Detailed Description

template<class BaseSyn>
class GenericEachPairStdpSynapse< BaseSyn >

Definition at line 20 of file GenericEachPairStdpSynapse.h.


Constructor & Destructor Documentation

template<class BaseSyn>
GenericEachPairStdpSynapse< BaseSyn >::GenericEachPairStdpSynapse (  )  [inline]

Definition at line 23 of file GenericEachPairStdpSynapse.h.

template<class BaseSyn>
virtual GenericEachPairStdpSynapse< BaseSyn >::~GenericEachPairStdpSynapse (  )  [inline, virtual]

Definition at line 27 of file GenericEachPairStdpSynapse.h.


Member Function Documentation

template<class BaseSyn>
virtual double GenericEachPairStdpSynapse< BaseSyn >::stdpLearning ( const double delta,
const double t_post,
const double t_pre,
const double t_prev_post,
const double t_prev_pre 
) [pure virtual]

Called for each pre and post spike with time difference delta=t_post-t_pre.

Implemented in GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > > >, GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >, GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > >, GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericConductanceBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > >, GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > >, GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > >, and GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > >.

Referenced by GenericEachPairStdpSynapse< BaseSyn >::postSpikeHit(), and GenericEachPairStdpSynapse< BaseSyn >::preSpikeHit().

template<class BaseSyn>
virtual double GenericEachPairStdpSynapse< BaseSyn >::maxRelevantSpikeTimeDiff (  )  [pure virtual]

template<class BaseSyn>
virtual int GenericEachPairStdpSynapse< BaseSyn >::reset ( double  dt  )  [inline, virtual]

template<class BaseSyn>
virtual int GenericEachPairStdpSynapse< BaseSyn >::spikeHit ( spikeport_t  port,
SpikeEvent const &  spike 
) [inline, virtual]

template<class BaseSyn>
void GenericEachPairStdpSynapse< BaseSyn >::preSpikeHit ( SpikeEvent const &  spike  )  [inline]

Called if the pre-synaptic spikes hits the synapse and calls the learning function for each pair of pre-post spikes.

Definition at line 106 of file GenericEachPairStdpSynapse.h.

References SpikeBuffer::begin(), SpikeBuffer::end_of_window(), SpikeBuffer::second(), SpikeBuffer::size(), GenericEachPairStdpSynapse< BaseSyn >::stdpLearning(), and SpikeEvent::time().

Referenced by GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::spikeHit().

Here is the call graph for this function:

template<class BaseSyn>
void GenericEachPairStdpSynapse< BaseSyn >::postSpikeHit ( SpikeEvent const &  spike  )  [inline]

Called if the post-synaptic spikes hits the synapse and calls the learning function for each pair of post-pre spikes.

Definition at line 122 of file GenericEachPairStdpSynapse.h.

References SpikeBuffer::begin(), SpikeBuffer::end_of_window(), SpikeBuffer::second(), SpikeBuffer::size(), GenericEachPairStdpSynapse< BaseSyn >::stdpLearning(), and SpikeEvent::time().

Referenced by GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::spikeHit().

Here is the call graph for this function:

template<class BaseSyn>
virtual void GenericEachPairStdpSynapse< BaseSyn >::incoming ( SimObject post,
SimObject::ID const &  postid,
SimObject::ID const &  self,
SimNetwork net 
) [inline, virtual]

Connects the spike output port of the postsynaptic neuron to spike intpFroemke, R.C. and Dan, Y. (2002). Spike timing-dependent synaptic modification induced by natural spike trains. Nature 416, 433-438.ut port 1.

Definition at line 80 of file GenericEachPairStdpSynapse.h.

template<class BaseSyn>
virtual SimObject::PortType GenericEachPairStdpSynapse< BaseSyn >::inputPortType ( port_t  p  )  const [inline, virtual]

Definition at line 92 of file GenericEachPairStdpSynapse.h.


Member Data Documentation

template<class BaseSyn>
int GenericEachPairStdpSynapse< BaseSyn >::activeSTDP

Set to 1 to activate STDP-learning. No learning is performed if set to 0.

Definition at line 29 of file GenericEachPairStdpSynapse.h.

Referenced by GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::spikeHit().

template<class BaseSyn>
float GenericEachPairStdpSynapse< BaseSyn >::back_delay

Delay of dendritic backpropagating spike (the synapse sees the postsynaptic spike delayed by back_delay [units=sec].

Definition at line 35 of file GenericEachPairStdpSynapse.h.

Referenced by GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::incoming().

template<class BaseSyn>
double GenericEachPairStdpSynapse< BaseSyn >::Winit

The initial value of the synapse weight [units=none; range = (0,1e6);].

Definition at line 38 of file GenericEachPairStdpSynapse.h.

Referenced by GenericEachPairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::reset().


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

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