GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
initSparseConnectivitySnippet.h File Reference
#include <functional>
#include <vector>
#include <cassert>
#include <cmath>
#include "binomial.h"
#include "snippet.h"

Go to the source code of this file.

Classes

class  InitSparseConnectivitySnippet::Base
 
class  InitSparseConnectivitySnippet::Init
 
class  InitSparseConnectivitySnippet::Uninitialised
 Used to mark connectivity as uninitialised - no initialisation code will be run. More...
 
class  InitSparseConnectivitySnippet::OneToOne
 Initialises connectivity to a 'one-to-one' diagonal matrix. More...
 
class  InitSparseConnectivitySnippet::FixedProbabilityBase
 
class  InitSparseConnectivitySnippet::FixedProbability
 
class  InitSparseConnectivitySnippet::FixedProbabilityNoAutapse
 

Namespaces

 InitSparseConnectivitySnippet
 Base class for all sparse connectivity initialisation snippets.
 

Macros

#define SET_ROW_BUILD_CODE(CODE)   virtual std::string getRowBuildCode() const override{ return CODE; }
 
#define SET_ROW_BUILD_STATE_VARS(...)   virtual NameTypeValVec getRowBuildStateVars() const override{ return __VA_ARGS__; }
 
#define SET_CALC_MAX_ROW_LENGTH_FUNC(FUNC)   virtual CalcMaxLengthFunc getCalcMaxRowLengthFunc() const override{ return FUNC; }
 
#define SET_CALC_MAX_COL_LENGTH_FUNC(FUNC)   virtual CalcMaxLengthFunc getCalcMaxColLengthFunc() const override{ return FUNC; }
 
#define SET_EXTRA_GLOBAL_PARAMS(...)   virtual StringPairVec getExtraGlobalParams() const override{ return __VA_ARGS__; }
 

Macro Definition Documentation

◆ SET_CALC_MAX_COL_LENGTH_FUNC

#define SET_CALC_MAX_COL_LENGTH_FUNC (   FUNC)    virtual CalcMaxLengthFunc getCalcMaxColLengthFunc() const override{ return FUNC; }

◆ SET_CALC_MAX_ROW_LENGTH_FUNC

#define SET_CALC_MAX_ROW_LENGTH_FUNC (   FUNC)    virtual CalcMaxLengthFunc getCalcMaxRowLengthFunc() const override{ return FUNC; }

◆ SET_EXTRA_GLOBAL_PARAMS

#define SET_EXTRA_GLOBAL_PARAMS (   ...)    virtual StringPairVec getExtraGlobalParams() const override{ return __VA_ARGS__; }

◆ SET_ROW_BUILD_CODE

#define SET_ROW_BUILD_CODE (   CODE)    virtual std::string getRowBuildCode() const override{ return CODE; }

◆ SET_ROW_BUILD_STATE_VARS

#define SET_ROW_BUILD_STATE_VARS (   ...)    virtual NameTypeValVec getRowBuildStateVars() const override{ return __VA_ARGS__; }