![]() |
GeNN
4.0.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 <models.h>
Public Member Functions | |
virtual VarVec | getVars () const |
Gets names and types (as strings) of model variables. More... | |
virtual VarVec | getExtraGlobalParams () const |
size_t | getVarIndex (const std::string &varName) const |
Find the index of a named variable. More... | |
size_t | getExtraGlobalParamIndex (const std::string ¶mName) const |
Find the index of a named extra global parameter. More... | |
![]() | |
virtual | ~Base () |
virtual StringVec | getParamNames () const |
Gets names of of (independent) model parameters. More... | |
virtual DerivedParamVec | getDerivedParams () const |
Additional Inherited Members | |
![]() | |
typedef std::vector< std::string > | StringVec |
typedef std::vector< Var > | VarVec |
typedef std::vector< ParamVal > | ParamValVec |
typedef std::vector< DerivedParam > | DerivedParamVec |
![]() | |
static size_t | getVarVecIndex (const std::string &varName, const VarVec &vars) |
Base class for all models - in addition to the parameters snippets have, models can have state variables.
|
inline |
Find the index of a named extra global parameter.
|
inlinevirtual |
Gets names and types (as strings) of additional per-population parameters for the weight update model.
Reimplemented in NeuronModels::Poisson, and NeuronModels::SpikeSourceArray.
|
inline |
Find the index of a named variable.
|
inlinevirtual |
Gets names and types (as strings) of model variables.
Reimplemented in NeuronModels::TraubMiles, NeuronModels::PoissonNew, NeuronModels::Poisson, WeightUpdateModels::PiecewiseSTDP, NeuronModels::SpikeSourceArray, NeuronModels::LIF, WeightUpdateModels::StaticGraded, NeuronModels::IzhikevichVariable, WeightUpdateModels::StaticPulseDendriticDelay, NeuronModels::Izhikevich, WeightUpdateModels::StaticPulse, and NeuronModels::RulkovMap.