![]() |
GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
Base class for all models - in addition to the parameters snippets have, models can have state variables. More...
#include <newModels.h>
Public Member Functions | |
| virtual StringPairVec | getVars () const |
| Gets names and types (as strings) of model variables. More... | |
| size_t | getVarIndex (const std::string &varName) const |
| Find the index of a named variable. More... | |
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 |
Static Protected Member Functions | |
| static size_t | getVarIndex (const std::string &varName, const StringPairVec &vars) |
Additional Inherited Members | |
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 |
Base class for all models - in addition to the parameters snippets have, models can have state variables.
|
inline |
Find the index of a named variable.
|
inlinestaticprotected |
|
inlinevirtual |
Gets names and types (as strings) of model variables.
Reimplemented in NeuronModels::TraubMiles, NeuronModels::PoissonNew, NeuronModels::Poisson, WeightUpdateModels::PiecewiseSTDP, NeuronModels::SpikeSourceArray, WeightUpdateModels::StaticGraded, NeuronModels::IzhikevichVariable, WeightUpdateModels::StaticPulseDendriticDelay, NewModels::LegacyWrapper< Base, neuronModel, nModels >, NewModels::LegacyWrapper< Base, weightUpdateModel, weightUpdateModels >, NewModels::LegacyWrapper< Base, postSynModel, postSynModels >, NeuronModels::Izhikevich, WeightUpdateModels::StaticPulse, and NeuronModels::RulkovMap.