GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
NeuronGroup::SpikeEventThreshold Struct Reference

Structure used for storing spike event data. More...

#include <neuronGroup.h>

Public Member Functions

 SpikeEventThreshold (const std::string &e, const std::string &s, bool egp, SynapseGroupInternal *sg)
 
bool operator< (const SpikeEventThreshold &other) const
 
bool operator== (const SpikeEventThreshold &other) const
 

Public Attributes

const std::string eventThresholdCode
 
const std::string supportCode
 
const bool synapseStateInThresholdCode
 
SynapseGroupInternalsynapseGroup
 

Detailed Description

Structure used for storing spike event data.

Constructor & Destructor Documentation

◆ SpikeEventThreshold()

NeuronGroup::SpikeEventThreshold::SpikeEventThreshold ( const std::string &  e,
const std::string &  s,
bool  egp,
SynapseGroupInternal sg 
)
inline

Member Function Documentation

◆ operator<()

bool NeuronGroup::SpikeEventThreshold::operator< ( const SpikeEventThreshold other) const
inline

Less than operator (used for std::set::insert), lexicographically compares all three struct members - meaning that event thresholds featuring extra global parameters or presynaptic state variables from different synapse groups will not get combined together in neuron update

◆ operator==()

bool NeuronGroup::SpikeEventThreshold::operator== ( const SpikeEventThreshold other) const
inline

Equality operator (used for set::set equality used when testing neuron groups mergability), Compares only the two code strings as neuron groups with threshold conditions featuring extra global parameters from different synapse groups can still be merged

Member Data Documentation

◆ eventThresholdCode

const std::string NeuronGroup::SpikeEventThreshold::eventThresholdCode

◆ supportCode

const std::string NeuronGroup::SpikeEventThreshold::supportCode

◆ synapseGroup

SynapseGroupInternal* NeuronGroup::SpikeEventThreshold::synapseGroup

◆ synapseStateInThresholdCode

const bool NeuronGroup::SpikeEventThreshold::synapseStateInThresholdCode

The documentation for this struct was generated from the following file: