#include <GenericOnePairStdpSynapse.h>
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);]. |
Definition at line 19 of file GenericOnePairStdpSynapse.h.
GenericOnePairStdpSynapse< BaseSyn >::GenericOnePairStdpSynapse | ( | ) | [inline] |
Definition at line 22 of file GenericOnePairStdpSynapse.h.
virtual GenericOnePairStdpSynapse< BaseSyn >::~GenericOnePairStdpSynapse | ( | ) | [inline, virtual] |
Definition at line 26 of file GenericOnePairStdpSynapse.h.
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] |
Called for each pre and post spike with time difference delta=t_post-t_pre.
Implemented in GenericFroemkeDanStdpSynapse< GenericOnePairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > >, and GenericFroemkeDanStdpSynapse< GenericOnePairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > >.
Referenced by GenericOnePairStdpSynapse< BaseSyn >::postSpikeHit(), and GenericOnePairStdpSynapse< BaseSyn >::preSpikeHit().
virtual double GenericOnePairStdpSynapse< BaseSyn >::maxRelevantSpikeTimeDiff | ( | ) | [pure virtual] |
Implemented in GenericFroemkeDanStdpSynapse< GenericOnePairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > >, and GenericFroemkeDanStdpSynapse< GenericOnePairStdpSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > > >.
virtual int GenericOnePairStdpSynapse< BaseSyn >::reset | ( | double | dt | ) | [inline, virtual] |
Definition at line 44 of file GenericOnePairStdpSynapse.h.
virtual int GenericOnePairStdpSynapse< BaseSyn >::spikeHit | ( | spikeport_t | port, | |
SpikeEvent const & | spike | |||
) | [inline, virtual] |
Definition at line 51 of file GenericOnePairStdpSynapse.h.
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().
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().
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.
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.
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.
double GenericOnePairStdpSynapse< BaseSyn >::Winit |
The initial value of the synapse weight [units=none; range = (0,1e6);].
Definition at line 37 of file GenericOnePairStdpSynapse.h.