GeNN
4.9.0
GPU enhanced Neuronal Networks (GeNN)
|
Base class for all current source models. More...
#include <customUpdateModels.h>
Public Member Functions | |
virtual VarRefVec | getVarRefs () const |
Gets names and types (as strings) of model variable references. More... | |
virtual EGPRefVec | getExtraGlobalParamRefs () const |
Gets names and types (as strings) of model extra global parameter references. More... | |
virtual std::string | getUpdateCode () const |
Gets the code that performs the custom update. More... | |
boost::uuids::detail::sha1::digest_type | getHashDigest () const |
Update hash from model. More... | |
void | validate () const |
Validate names of parameters etc. More... | |
Public Member Functions inherited from Models::Base | |
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... | |
Additional Inherited Members | |
Public Types inherited from Models::Base | |
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 |
Protected Member Functions inherited from Models::Base | |
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... | |
Static Protected Member Functions inherited from Snippet::Base | |
template<typename T > | |
static size_t | getNamedVecIndex (const std::string &name, const std::vector< T > &vec) |
Base class for all current source models.
|
inlinevirtual |
Gets names and types (as strings) of model extra global parameter references.
boost::uuids::detail::sha1::digest_type CustomUpdateModels::Base::getHashDigest | ( | ) | const |
Update hash from model.
|
inlinevirtual |
Gets the code that performs the custom update.
|
inlinevirtual |
Gets names and types (as strings) of model variable references.
void CustomUpdateModels::Base::validate | ( | ) | const |
Validate names of parameters etc.