GeNN  2.2.3
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 ( )

Constructor for weightUpdateModel objects.

weightUpdateModel::~weightUpdateModel ( )

Destructor for weightUpdateModel objects.

Member Data Documentation

vector<string> weightUpdateModel::dpNames

Names of dependent parameters of the model.

dpclass* weightUpdateModel::dps
string weightUpdateModel::evntThreshold

Simulation code for spike event detection.

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.

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.

bool weightUpdateModel::needPostSt

Whether postsynaptic spike times are needed or not.

bool weightUpdateModel::needPreSt

Whether presynaptic spike times are needed or not.

vector<string> weightUpdateModel::pNames

Names of (independent) parameters of the model.

string weightUpdateModel::simCode

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

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.

string weightUpdateModel::simCodeEvnt

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

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.

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.

string weightUpdateModel::synapseDynamics

Simulation code for synapse dynamics independent of spike detection.

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.

vector<string> weightUpdateModel::varNames

Names of the variables in the postsynaptic model.

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: