GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
InitSparseConnectivitySnippet::Base Class Reference

#include <initSparseConnectivitySnippet.h>

Inheritance diagram for InitSparseConnectivitySnippet::Base:
Snippet::Base InitSparseConnectivitySnippet::FixedProbabilityBase InitSparseConnectivitySnippet::OneToOne InitSparseConnectivitySnippet::Uninitialised InitSparseConnectivitySnippet::FixedProbability InitSparseConnectivitySnippet::FixedProbabilityNoAutapse

Public Types

typedef std::function< unsigned int(unsigned int, unsigned int, const std::vector< double > &)> CalcMaxLengthFunc
 
- 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 std::string getRowBuildCode () const
 
virtual NameTypeValVec getRowBuildStateVars () const
 
virtual CalcMaxLengthFunc getCalcMaxRowLengthFunc () const
 Get function to calculate the maximum row length of this connector based on the parameters and the size of the pre and postsynaptic population. More...
 
virtual CalcMaxLengthFunc getCalcMaxColLengthFunc () const
 Get function to calculate the maximum column length of this connector based on the parameters and the size of the pre and postsynaptic population. More...
 
virtual StringPairVec getExtraGlobalParams () const
 
- 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
 

Member Typedef Documentation

◆ CalcMaxLengthFunc

typedef std::function<unsigned int(unsigned int, unsigned int, const std::vector<double> &)> InitSparseConnectivitySnippet::Base::CalcMaxLengthFunc

Member Function Documentation

◆ getCalcMaxColLengthFunc()

virtual CalcMaxLengthFunc InitSparseConnectivitySnippet::Base::getCalcMaxColLengthFunc ( ) const
inlinevirtual

Get function to calculate the maximum column length of this connector based on the parameters and the size of the pre and postsynaptic population.

◆ getCalcMaxRowLengthFunc()

virtual CalcMaxLengthFunc InitSparseConnectivitySnippet::Base::getCalcMaxRowLengthFunc ( ) const
inlinevirtual

Get function to calculate the maximum row length of this connector based on the parameters and the size of the pre and postsynaptic population.

◆ getExtraGlobalParams()

virtual StringPairVec InitSparseConnectivitySnippet::Base::getExtraGlobalParams ( ) const
inlinevirtual

Gets names and types (as strings) of additional per-population parameters for the connection initialisation snippet

◆ getRowBuildCode()

virtual std::string InitSparseConnectivitySnippet::Base::getRowBuildCode ( ) const
inlinevirtual

◆ getRowBuildStateVars()

virtual NameTypeValVec InitSparseConnectivitySnippet::Base::getRowBuildStateVars ( ) const
inlinevirtual

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