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

Base class for all code snippets. More...

#include <snippet.h>

Inheritance diagram for Snippet::Base:
InitSparseConnectivitySnippet::Base InitVarSnippet::Base NewModels::Base InitSparseConnectivitySnippet::FixedProbabilityBase InitSparseConnectivitySnippet::OneToOne InitSparseConnectivitySnippet::Uninitialised InitVarSnippet::Constant InitVarSnippet::Exponential InitVarSnippet::Gamma InitVarSnippet::Normal InitVarSnippet::Uniform InitVarSnippet::Uninitialised CurrentSourceModels::Base NewModels::LegacyWrapper< Base, neuronModel, nModels > NewModels::LegacyWrapper< Base, postSynModel, postSynModels > NewModels::LegacyWrapper< Base, weightUpdateModel, weightUpdateModels > NeuronModels::Base PostsynapticModels::Base WeightUpdateModels::Base

Public Types

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 ~Base ()
 
virtual StringVec getParamNames () const
 Gets names of of (independent) model parameters. More...
 
virtual DerivedParamVec getDerivedParams () const
 

Detailed Description

Base class for all code snippets.

Member Typedef Documentation

◆ DerivedParamFunc

typedef std::function<double(const std::vector<double> &, double)> Snippet::Base::DerivedParamFunc

◆ DerivedParamVec

typedef std::vector<std::pair<std::string, DerivedParamFunc> > Snippet::Base::DerivedParamVec

◆ NameTypeValVec

typedef std::vector<std::pair<std::string, std::pair<std::string, double> > > Snippet::Base::NameTypeValVec

◆ StringPairVec

typedef std::vector<std::pair<std::string, std::string> > Snippet::Base::StringPairVec

◆ StringVec

typedef std::vector<std::string> Snippet::Base::StringVec

Constructor & Destructor Documentation

◆ ~Base()

virtual Snippet::Base::~Base ( )
inlinevirtual

Member Function Documentation

◆ getDerivedParams()

virtual DerivedParamVec Snippet::Base::getDerivedParams ( ) const
inlinevirtual

◆ getParamNames()


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