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

#include <models.h>

Inheritance diagram for Models::Base:
Snippet::Base CurrentSourceModels::Base CustomUpdateModels::Base NeuronModels::Base PostsynapticModels::Base WeightUpdateModels::Base CurrentSourceModels::DC CurrentSourceModels::GaussianNoise CurrentSourceModels::PoissonExp CustomUpdateModels::Transpose 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

Classes

struct  EGPRef
 
struct  Var
 A variable has a name, a type and an access type. More...
 
struct  VarRef
 

Public Types

typedef std::vector< VarVarVec
 
typedef std::vector< VarRefVarRefVec
 
typedef std::vector< EGPRefEGPRefVec
 
- Public Types inherited from Snippet::Base
typedef std::vector< std::string > StringVec
 
typedef std::vector< EGPEGPVec
 
typedef std::vector< ParamValParamValVec
 
typedef std::vector< DerivedParamDerivedParamVec
 

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 &paramName) 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)
 

Member Typedef Documentation

◆ EGPRefVec

typedef std::vector<EGPRef> Models::Base::EGPRefVec

◆ VarRefVec

typedef std::vector<VarRef> Models::Base::VarRefVec

◆ VarVec

typedef std::vector<Var> Models::Base::VarVec

Member Function Documentation

◆ getVarIndex()

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

Find the index of a named variable.

◆ getVars()

◆ updateHash()

void Base::updateHash ( boost::uuids::detail::sha1 &  hash) const
protected

◆ validate()

void Base::validate ( ) const
protected

Validate names of parameters etc.


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