GenericOnePairStdpSynapse< BaseSyn > Class Template Reference

#include <GenericOnePairStdpSynapse.h>

Inheritance diagram for GenericOnePairStdpSynapse< BaseSyn >:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GenericOnePairStdpSynapse ()
virtual ~GenericOnePairStdpSynapse ()
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.

Public Attributes

bool 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 GenericOnePairStdpSynapse< BaseSyn >

Definition at line 19 of file GenericOnePairStdpSynapse.h.


Constructor & Destructor Documentation

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

Definition at line 22 of file GenericOnePairStdpSynapse.h.

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

Definition at line 26 of file GenericOnePairStdpSynapse.h.


Member Function Documentation

template<class BaseSyn>
virtual double GenericOnePairStdpSynapse< 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]

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

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

Definition at line 44 of file GenericOnePairStdpSynapse.h.

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

Definition at line 51 of file GenericOnePairStdpSynapse.h.

template<class BaseSyn>
void GenericOnePairStdpSynapse< 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 96 of file GenericOnePairStdpSynapse.h.

References GenericOnePairStdpSynapse< BaseSyn >::stdpLearning(), and SpikeEvent::time().

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

Here is the call graph for this function:

template<class BaseSyn>
void GenericOnePairStdpSynapse< 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 103 of file GenericOnePairStdpSynapse.h.

References GenericOnePairStdpSynapse< BaseSyn >::stdpLearning(), and SpikeEvent::time().

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

Here is the call graph for this function:

template<class BaseSyn>
virtual void GenericOnePairStdpSynapse< 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 75 of file GenericOnePairStdpSynapse.h.


Member Data Documentation

template<class BaseSyn>
bool GenericOnePairStdpSynapse< BaseSyn >::activeSTDP

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

Definition at line 28 of file GenericOnePairStdpSynapse.h.

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

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

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

Definition at line 34 of file GenericOnePairStdpSynapse.h.

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

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

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

Definition at line 37 of file GenericOnePairStdpSynapse.h.

Referenced by GenericOnePairStdpSynapse< 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