GeNN
4.9.0
GPU enhanced Neuronal Networks (GeNN)
|
#include <models.h>
Classes | |
struct | EGPRef |
struct | Var |
A variable has a name, a type and an access type. More... | |
struct | VarRef |
Public Types | |
typedef std::vector< Var > | VarVec |
typedef std::vector< VarRef > | VarRefVec |
typedef std::vector< EGPRef > | EGPRefVec |
Public Types inherited from Snippet::Base | |
typedef std::vector< std::string > | StringVec |
typedef std::vector< EGP > | EGPVec |
typedef std::vector< ParamVal > | ParamValVec |
typedef std::vector< DerivedParam > | DerivedParamVec |
Public Member Functions | |
virtual VarVec | 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 |
virtual EGPVec | getExtraGlobalParams () const |
size_t | getExtraGlobalParamIndex (const std::string ¶mName) const |
Find the index of a named extra global parameter. More... | |
Protected Member Functions | |
void | updateHash (boost::uuids::detail::sha1 &hash) const |
void | validate () const |
Validate names of parameters etc. More... | |
Protected Member Functions inherited from Snippet::Base | |
void | updateHash (boost::uuids::detail::sha1 &hash) const |
void | validate () const |
Validate names of parameters etc. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from Snippet::Base | |
template<typename T > | |
static size_t | getNamedVecIndex (const std::string &name, const std::vector< T > &vec) |
typedef std::vector<EGPRef> Models::Base::EGPRefVec |
typedef std::vector<VarRef> Models::Base::VarRefVec |
typedef std::vector<Var> Models::Base::VarVec |
|
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, WeightUpdateModels::StaticPulse, NeuronModels::Izhikevich, NeuronModels::RulkovMap, and CurrentSourceModels::PoissonExp.
|
protected |
|
protected |
Validate names of parameters etc.