GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
Pulse-coupled, static synapse with heterogenous dendritic delays. More...
#include <newWeightUpdateModels.h>
Public Types | |
typedef Snippet::ValueBase< 0 > | ParamValues |
typedef NewModels::VarInitContainerBase< 2 > | VarValues |
typedef NewModels::VarInitContainerBase< 0 > | PreVarValues |
typedef NewModels::VarInitContainerBase< 0 > | PostVarValues |
Public Types inherited from Snippet::Base | |
typedef std::function< double(const std::vector< double > &, double)> | DerivedParamFunc |
typedef std::vector< std::string > | StringVec |
typedef std::vector< std::pair< std::string, std::string > > | StringPairVec |
typedef std::vector< std::pair< std::string, std::pair< std::string, double > > > | NameTypeValVec |
typedef std::vector< std::pair< std::string, DerivedParamFunc > > | DerivedParamVec |
Public Member Functions | |
virtual StringPairVec | getVars () const override |
Gets names and types (as strings) of model variables. More... | |
virtual std::string | getSimCode () const override |
Gets simulation code run when 'true' spikes are received. More... | |
Public Member Functions inherited from WeightUpdateModels::Base | |
virtual std::string | getEventCode () const |
Gets code run when events (all the instances where event threshold condition is met) are received. More... | |
virtual std::string | getLearnPostCode () const |
Gets code to include in the learnSynapsesPost kernel/function. More... | |
virtual std::string | getSynapseDynamicsCode () const |
Gets code for synapse dynamics which are independent of spike detection. More... | |
virtual std::string | getEventThresholdConditionCode () const |
Gets codes to test for events. More... | |
virtual std::string | getSimSupportCode () const |
Gets support code to be made available within the synapse kernel/function. More... | |
virtual std::string | getLearnPostSupportCode () const |
Gets support code to be made available within learnSynapsesPost kernel/function. More... | |
virtual std::string | getSynapseDynamicsSuppportCode () const |
Gets support code to be made available within the synapse dynamics kernel/function. More... | |
virtual std::string | getPreSpikeCode () const |
virtual std::string | getPostSpikeCode () const |
virtual StringPairVec | getPreVars () const |
virtual StringPairVec | getPostVars () const |
virtual StringPairVec | getExtraGlobalParams () const |
virtual bool | isPreSpikeTimeRequired () const |
Whether presynaptic spike times are needed or not. More... | |
virtual bool | isPostSpikeTimeRequired () const |
Whether postsynaptic spike times are needed or not. More... | |
size_t | getPreVarIndex (const std::string &varName) const |
Find the index of a named presynaptic variable. More... | |
size_t | getPostVarIndex (const std::string &varName) const |
Find the index of a named postsynaptic variable. More... | |
Public Member Functions inherited from NewModels::Base | |
size_t | getVarIndex (const std::string &varName) const |
Find the index of a named variable. More... | |
Public Member Functions inherited from Snippet::Base | |
virtual | ~Base () |
virtual StringVec | getParamNames () const |
Gets names of of (independent) model parameters. More... | |
virtual DerivedParamVec | getDerivedParams () const |
Static Public Member Functions | |
static const StaticPulseDendriticDelay * | getInstance () |
Additional Inherited Members | |
Static Protected Member Functions inherited from NewModels::Base | |
static size_t | getVarIndex (const std::string &varName, const StringPairVec &vars) |
Pulse-coupled, static synapse with heterogenous dendritic delays.
No learning rule is applied to the synapse and for each pre-synaptic spikes, the synaptic conductances are simply added to the postsynaptic input variable. The model has 2 variables:
sim
code is:
typedef NewModels::VarInitContainerBase<0> WeightUpdateModels::StaticPulseDendriticDelay::PostVarValues |
typedef NewModels::VarInitContainerBase<0> WeightUpdateModels::StaticPulseDendriticDelay::PreVarValues |
typedef NewModels::VarInitContainerBase< 2 > WeightUpdateModels::StaticPulseDendriticDelay::VarValues |
|
inlinestatic |
|
inlineoverridevirtual |
Gets simulation code run when 'true' spikes are received.
Reimplemented from WeightUpdateModels::Base.
|
inlineoverridevirtual |
Gets names and types (as strings) of model variables.
Reimplemented from NewModels::Base.