#include <GenericEachPairStdpSynapse.h>
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);]. |
Definition at line 20 of file GenericEachPairStdpSynapse.h.
GenericEachPairStdpSynapse< BaseSyn >::GenericEachPairStdpSynapse | ( | ) | [inline] |
Definition at line 23 of file GenericEachPairStdpSynapse.h.
virtual GenericEachPairStdpSynapse< BaseSyn >::~GenericEachPairStdpSynapse | ( | ) | [inline, virtual] |
Definition at line 27 of file GenericEachPairStdpSynapse.h.
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().
virtual double GenericEachPairStdpSynapse< BaseSyn >::maxRelevantSpikeTimeDiff | ( | ) | [pure virtual] |
Implemented in 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 > > > >.
virtual int GenericEachPairStdpSynapse< BaseSyn >::reset | ( | double | dt | ) | [inline, virtual] |
Reimplemented 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 > > > > >, and GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >.
Definition at line 46 of file GenericEachPairStdpSynapse.h.
virtual int GenericEachPairStdpSynapse< BaseSyn >::spikeHit | ( | spikeport_t | port, | |
SpikeEvent const & | spike | |||
) | [inline, virtual] |
Reimplemented 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 > > > > >, and GenericDAModulatedSTDPSynapse< GenericFroemkeDanStdpSynapse< GenericEachPairStdpSynapse< GenericStaticSpikingSynapse< GenericCurrentBasedSpikingSynapse< SquarePulseSpikeResponse > > > > >.
Definition at line 54 of file GenericEachPairStdpSynapse.h.
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().
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().
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.
virtual SimObject::PortType GenericEachPairStdpSynapse< BaseSyn >::inputPortType | ( | port_t | p | ) | const [inline, virtual] |
Definition at line 92 of file GenericEachPairStdpSynapse.h.
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.
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.
double GenericEachPairStdpSynapse< BaseSyn >::Winit |
The initial value of the synapse weight [units=none; range = (0,1e6);].
Definition at line 38 of file GenericEachPairStdpSynapse.h.