#include <GenericHomeostaticSynapse.h>
Public Member Functions | |
GenericHomeostaticSynapse () | |
virtual | ~GenericHomeostaticSynapse () |
virtual int | reset (double dt) |
virtual int | init (InitializeInfo *ii) |
virtual int | advance (AdvanceInfo const &ai) |
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 | active |
Set to 1 to activate homeostatic plasticity. No plasticity is performed if set to 0. | |
bool | inhibitory |
double | Winit |
The initial value of the synapse weight [units=none; range = (0,1e6);]. | |
double | alpha |
The initial value of the synapse weight [units=none; range = (0,1e6);]. | |
double | activity_tau |
double | activity_goal |
double | activity_init |
double | activity_decay |
double | activity_post |
double | activity_pre |
double | Wex |
float | back_delay |
Delay of dendritic backpropagating spike (the synapse sees the postsynaptic spike delayed by back_delay [units=sec]. |
Definition at line 21 of file GenericHomeostaticSynapse.h.
GenericHomeostaticSynapse< BaseSyn >::GenericHomeostaticSynapse | ( | ) | [inline] |
Definition at line 24 of file GenericHomeostaticSynapse.h.
virtual GenericHomeostaticSynapse< BaseSyn >::~GenericHomeostaticSynapse | ( | ) | [inline, virtual] |
Definition at line 30 of file GenericHomeostaticSynapse.h.
virtual int GenericHomeostaticSynapse< BaseSyn >::reset | ( | double | dt | ) | [inline, virtual] |
Reimplemented in HomDynGlutamateExpSynapse.
Definition at line 62 of file GenericHomeostaticSynapse.h.
virtual int GenericHomeostaticSynapse< BaseSyn >::init | ( | InitializeInfo * | ii | ) | [inline, virtual] |
Definition at line 72 of file GenericHomeostaticSynapse.h.
virtual int GenericHomeostaticSynapse< BaseSyn >::advance | ( | AdvanceInfo const & | ai | ) | [inline, virtual] |
Definition at line 78 of file GenericHomeostaticSynapse.h.
virtual int GenericHomeostaticSynapse< BaseSyn >::spikeHit | ( | spikeport_t | port, | |
SpikeEvent const & | spike | |||
) | [inline, virtual] |
Definition at line 106 of file GenericHomeostaticSynapse.h.
void GenericHomeostaticSynapse< 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 139 of file GenericHomeostaticSynapse.h.
References GenericHomeostaticSynapse< BaseSyn >::activity_pre, GenericHomeostaticSynapse< BaseSyn >::activity_tau, and SpikeEvent::delta.
void GenericHomeostaticSynapse< 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 145 of file GenericHomeostaticSynapse.h.
References GenericHomeostaticSynapse< BaseSyn >::activity_post, GenericHomeostaticSynapse< BaseSyn >::activity_tau, and SpikeEvent::delta.
virtual void GenericHomeostaticSynapse< 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 124 of file GenericHomeostaticSynapse.h.
bool GenericHomeostaticSynapse< BaseSyn >::active |
Set to 1 to activate homeostatic plasticity. No plasticity is performed if set to 0.
Definition at line 32 of file GenericHomeostaticSynapse.h.
Referenced by GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::advance(), and GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::GenericHomeostaticSynapse().
bool GenericHomeostaticSynapse< BaseSyn >::inhibitory |
Definition at line 37 of file GenericHomeostaticSynapse.h.
Referenced by GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::advance(), and GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::GenericHomeostaticSynapse().
double GenericHomeostaticSynapse< BaseSyn >::Winit |
The initial value of the synapse weight [units=none; range = (0,1e6);].
Definition at line 40 of file GenericHomeostaticSynapse.h.
Referenced by GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::init().
double GenericHomeostaticSynapse< BaseSyn >::alpha |
The initial value of the synapse weight [units=none; range = (0,1e6);].
Definition at line 43 of file GenericHomeostaticSynapse.h.
double GenericHomeostaticSynapse< BaseSyn >::activity_tau |
Definition at line 45 of file GenericHomeostaticSynapse.h.
Referenced by GenericHomeostaticSynapse< BaseSyn >::postSpikeHit(), GenericHomeostaticSynapse< BaseSyn >::preSpikeHit(), and GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::reset().
double GenericHomeostaticSynapse< BaseSyn >::activity_goal |
Definition at line 47 of file GenericHomeostaticSynapse.h.
double GenericHomeostaticSynapse< BaseSyn >::activity_init |
Definition at line 49 of file GenericHomeostaticSynapse.h.
double GenericHomeostaticSynapse< BaseSyn >::activity_decay |
Definition at line 51 of file GenericHomeostaticSynapse.h.
Referenced by GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::advance(), and GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::reset().
double GenericHomeostaticSynapse< BaseSyn >::activity_post |
Definition at line 53 of file GenericHomeostaticSynapse.h.
Referenced by GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::advance(), GenericHomeostaticSynapse< BaseSyn >::postSpikeHit(), and GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::reset().
double GenericHomeostaticSynapse< BaseSyn >::activity_pre |
Definition at line 55 of file GenericHomeostaticSynapse.h.
Referenced by GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::advance(), GenericHomeostaticSynapse< BaseSyn >::preSpikeHit(), and GenericHomeostaticSynapse< GenericDynamicSpikingSynapse< GenericCurrentBasedSpikingSynapse< ExponentialDecaySpikeResponse > > >::reset().
double GenericHomeostaticSynapse< BaseSyn >::Wex |
Definition at line 57 of file GenericHomeostaticSynapse.h.
float GenericHomeostaticSynapse< BaseSyn >::back_delay |
Delay of dendritic backpropagating spike (the synapse sees the postsynaptic spike delayed by back_delay [units=sec].
Definition at line 60 of file GenericHomeostaticSynapse.h.