GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
Base class for all code snippets. More...
#include <snippet.h>
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 |
Base class for all code snippets.
typedef std::function<double(const std::vector<double> &, double)> Snippet::Base::DerivedParamFunc |
typedef std::vector<std::pair<std::string, DerivedParamFunc> > Snippet::Base::DerivedParamVec |
typedef std::vector<std::pair<std::string, std::pair<std::string, double> > > Snippet::Base::NameTypeValVec |
typedef std::vector<std::pair<std::string, std::string> > Snippet::Base::StringPairVec |
typedef std::vector<std::string> Snippet::Base::StringVec |
|
inlinevirtual |
|
inlinevirtual |
Gets names of derived model parameters and the function objects to call to Calculate their value from a vector of model parameter values
Reimplemented in NeuronModels::PoissonNew, WeightUpdateModels::PiecewiseSTDP, NewModels::LegacyWrapper< Base, neuronModel, nModels >, NewModels::LegacyWrapper< Base, weightUpdateModel, weightUpdateModels >, NewModels::LegacyWrapper< Base, postSynModel, postSynModels >, NeuronModels::RulkovMap, InitSparseConnectivitySnippet::FixedProbabilityBase, and PostsynapticModels::ExpCond.
|
inlinevirtual |
Gets names of of (independent) model parameters.
Reimplemented in NeuronModels::TraubMilesNStep, NeuronModels::TraubMiles, NeuronModels::PoissonNew, NeuronModels::Poisson, WeightUpdateModels::PiecewiseSTDP, WeightUpdateModels::StaticGraded, NeuronModels::IzhikevichVariable, NeuronModels::Izhikevich, NewModels::LegacyWrapper< Base, neuronModel, nModels >, NewModels::LegacyWrapper< Base, weightUpdateModel, weightUpdateModels >, NewModels::LegacyWrapper< Base, postSynModel, postSynModels >, NeuronModels::RulkovMap, InitVarSnippet::Gamma, InitSparseConnectivitySnippet::FixedProbabilityBase, InitVarSnippet::Exponential, InitVarSnippet::Normal, InitVarSnippet::Uniform, CurrentSourceModels::GaussianNoise, PostsynapticModels::ExpCond, CurrentSourceModels::DC, and InitVarSnippet::Constant.