GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
weightUpdateModel Class Reference

Class to hold the information that defines a weightupdate model (a model of how spikes affect synaptic (and/or) (mostly) post-synaptic neuron variables. It also allows to define changes in response to post-synaptic spikes/spike-like events. More...

#include <synapseModels.h>

Public Member Functions

 weightUpdateModel ()
 Constructor for weightUpdateModel objects. More...
 
 ~weightUpdateModel ()
 Destructor for weightUpdateModel objects. More...
 

Public Attributes

string simCode
 Simulation code that is used for true spikes (only one time step after spike detection) More...
 
string simCodeEvnt
 Simulation code that is used for spike events (all the instances where event threshold condition is met) More...
 
string simLearnPost
 Simulation code which is used in the learnSynapsesPost kernel/function, where postsynaptic neuron spikes before the presynaptic neuron in the STDP window. More...
 
string evntThreshold
 Simulation code for spike event detection. More...
 
string synapseDynamics
 Simulation code for synapse dynamics independent of spike detection. More...
 
string simCode_supportCode
 Support code is made available within the synapse kernel definition file and is meant to contain user defined device functions that are used in the neuron codes. Preprocessor defines are also allowed if appropriately safeguarded against multiple definition by using ifndef; functions should be declared as "__host__ __device__" to be available for both GPU and CPU versions; note that this support code is available to simCode, evntThreshold and simCodeEvnt. More...
 
string simLearnPost_supportCode
 Support code is made available within the synapse kernel definition file and is meant to contain user defined device functions that are used in the neuron codes. Preprocessor defines are also allowed if appropriately safeguarded against multiple definition by using ifndef; functions should be declared as "__host__ __device__" to be available for both GPU and CPU versions. More...
 
string synapseDynamics_supportCode
 Support code is made available within the synapse kernel definition file and is meant to contain user defined device functions that are used in the neuron codes. Preprocessor defines are also allowed if appropriately safeguarded against multiple definition by using ifndef; functions should be declared as "__host__ __device__" to be available for both GPU and CPU versions. More...
 
vector< string > varNames
 Names of the variables in the postsynaptic model. More...
 
vector< string > varTypes
 Types of the variable named above, e.g. "float". Names and types are matched by their order of occurrence in the vector. More...
 
vector< string > pNames
 Names of (independent) parameters of the model. More...
 
vector< string > dpNames
 Names of dependent parameters of the model. More...
 
vector< string > extraGlobalSynapseKernelParameters
 Additional parameter in the neuron kernel; it is translated to a population specific name but otherwise assumed to be one parameter per population rather than per synapse. More...
 
vector< string > extraGlobalSynapseKernelParameterTypes
 Additional parameters in the neuron kernel; they are translated to a population specific name but otherwise assumed to be one parameter per population rather than per synapse. More...
 
dpclassdps
 
bool needPreSt
 Whether presynaptic spike times are needed or not. More...
 
bool needPostSt
 Whether postsynaptic spike times are needed or not. More...
 

Detailed Description

Class to hold the information that defines a weightupdate model (a model of how spikes affect synaptic (and/or) (mostly) post-synaptic neuron variables. It also allows to define changes in response to post-synaptic spikes/spike-like events.

Constructor & Destructor Documentation

◆ weightUpdateModel()

weightUpdateModel::weightUpdateModel ( )

Constructor for weightUpdateModel objects.

◆ ~weightUpdateModel()

weightUpdateModel::~weightUpdateModel ( )

Destructor for weightUpdateModel objects.

Member Data Documentation

◆ dpNames

vector<string> weightUpdateModel::dpNames

Names of dependent parameters of the model.

◆ dps

dpclass* weightUpdateModel::dps

◆ evntThreshold

string weightUpdateModel::evntThreshold

Simulation code for spike event detection.

◆ extraGlobalSynapseKernelParameters

vector<string> weightUpdateModel::extraGlobalSynapseKernelParameters

Additional parameter in the neuron kernel; it is translated to a population specific name but otherwise assumed to be one parameter per population rather than per synapse.

◆ extraGlobalSynapseKernelParameterTypes

vector<string> weightUpdateModel::extraGlobalSynapseKernelParameterTypes

Additional parameters in the neuron kernel; they are translated to a population specific name but otherwise assumed to be one parameter per population rather than per synapse.

◆ needPostSt

bool weightUpdateModel::needPostSt

Whether postsynaptic spike times are needed or not.

◆ needPreSt

bool weightUpdateModel::needPreSt

Whether presynaptic spike times are needed or not.

◆ pNames

vector<string> weightUpdateModel::pNames

Names of (independent) parameters of the model.

◆ simCode

string weightUpdateModel::simCode

Simulation code that is used for true spikes (only one time step after spike detection)

◆ simCode_supportCode

string weightUpdateModel::simCode_supportCode

Support code is made available within the synapse kernel definition file and is meant to contain user defined device functions that are used in the neuron codes. Preprocessor defines are also allowed if appropriately safeguarded against multiple definition by using ifndef; functions should be declared as "__host__ __device__" to be available for both GPU and CPU versions; note that this support code is available to simCode, evntThreshold and simCodeEvnt.

◆ simCodeEvnt

string weightUpdateModel::simCodeEvnt

Simulation code that is used for spike events (all the instances where event threshold condition is met)

◆ simLearnPost

string weightUpdateModel::simLearnPost

Simulation code which is used in the learnSynapsesPost kernel/function, where postsynaptic neuron spikes before the presynaptic neuron in the STDP window.

◆ simLearnPost_supportCode

string weightUpdateModel::simLearnPost_supportCode

Support code is made available within the synapse kernel definition file and is meant to contain user defined device functions that are used in the neuron codes. Preprocessor defines are also allowed if appropriately safeguarded against multiple definition by using ifndef; functions should be declared as "__host__ __device__" to be available for both GPU and CPU versions.

◆ synapseDynamics

string weightUpdateModel::synapseDynamics

Simulation code for synapse dynamics independent of spike detection.

◆ synapseDynamics_supportCode

string weightUpdateModel::synapseDynamics_supportCode

Support code is made available within the synapse kernel definition file and is meant to contain user defined device functions that are used in the neuron codes. Preprocessor defines are also allowed if appropriately safeguarded against multiple definition by using ifndef; functions should be declared as "__host__ __device__" to be available for both GPU and CPU versions.

◆ varNames

vector<string> weightUpdateModel::varNames

Names of the variables in the postsynaptic model.

◆ varTypes

vector<string> weightUpdateModel::varTypes

Types of the variable named above, e.g. "float". Names and types are matched by their order of occurrence in the vector.


The documentation for this class was generated from the following files: