GeNN  4.0.0
GPU enhanced Neuronal Networks (GeNN)
Models::Base Class Reference

Base class for all models - in addition to the parameters snippets have, models can have state variables. More...

#include <models.h>

Inheritance diagram for Models::Base:
Snippet::Base CurrentSourceModels::Base NeuronModels::Base PostsynapticModels::Base WeightUpdateModels::Base CurrentSourceModels::DC CurrentSourceModels::GaussianNoise NeuronModels::Izhikevich NeuronModels::LIF NeuronModels::Poisson NeuronModels::PoissonNew NeuronModels::RulkovMap NeuronModels::SpikeSource NeuronModels::SpikeSourceArray NeuronModels::TraubMiles PostsynapticModels::DeltaCurr PostsynapticModels::ExpCond PostsynapticModels::ExpCurr WeightUpdateModels::PiecewiseSTDP WeightUpdateModels::StaticGraded WeightUpdateModels::StaticPulse WeightUpdateModels::StaticPulseDendriticDelay

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 &paramName) const
 Find the index of a named extra global parameter. 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
 

Additional Inherited Members

- Public Types inherited from Snippet::Base
typedef std::vector< std::string > StringVec
 
typedef std::vector< VarVarVec
 
typedef std::vector< ParamValParamValVec
 
typedef std::vector< DerivedParamDerivedParamVec
 
- Static Protected Member Functions inherited from Snippet::Base
static size_t getVarVecIndex (const std::string &varName, const VarVec &vars)
 

Detailed Description

Base class for all models - in addition to the parameters snippets have, models can have state variables.

Member Function Documentation

◆ getExtraGlobalParamIndex()

size_t Models::Base::getExtraGlobalParamIndex ( const std::string &  paramName) const
inline

Find the index of a named extra global parameter.

◆ getExtraGlobalParams()

virtual VarVec Models::Base::getExtraGlobalParams ( ) const
inlinevirtual

Gets names and types (as strings) of additional per-population parameters for the weight update model.

Reimplemented in NeuronModels::Poisson, and NeuronModels::SpikeSourceArray.

◆ getVarIndex()

size_t Models::Base::getVarIndex ( const std::string &  varName) const
inline

Find the index of a named variable.

◆ getVars()


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