GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
Models Namespace Reference

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

Classes

class  Base
 
class  EGPReference
 
class  VarInit
 
class  VarReference
 
class  VarReferenceBase
 
class  WUVarReference
 

Typedefs

template<size_t NumVars>
using VarInitContainerBase = Snippet::InitialiserContainerBase< VarInit, NumVars >
 
template<size_t NumVars>
using VarReferenceContainerBase = Snippet::InitialiserContainerBase< VarReference, NumVars >
 
template<size_t NumVars>
using WUVarReferenceContainerBase = Snippet::InitialiserContainerBase< WUVarReference, NumVars >
 
template<size_t NumEGPs>
using EGPReferenceContainerBase = Snippet::InitialiserContainerBase< EGPReference, NumEGPs >
 

Functions

GENN_EXPORT void updateHash (const Base::Var &v, boost::uuids::detail::sha1 &hash)
 
GENN_EXPORT void updateHash (const Base::VarRef &v, boost::uuids::detail::sha1 &hash)
 
GENN_EXPORT void updateHash (const Base::EGPRef &e, boost::uuids::detail::sha1 &hash)
 
GENN_EXPORT void updateHash (const VarReference &v, boost::uuids::detail::sha1 &hash)
 
GENN_EXPORT void updateHash (const WUVarReference &v, boost::uuids::detail::sha1 &hash)
 
GENN_EXPORT void updateHash (const EGPReference &v, boost::uuids::detail::sha1 &hash)
 

Detailed Description

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

Typedef Documentation

◆ EGPReferenceContainerBase

template<size_t NumEGPs>
using Models::EGPReferenceContainerBase = typedef Snippet::InitialiserContainerBase<EGPReference, NumEGPs>

◆ VarInitContainerBase

template<size_t NumVars>
using Models::VarInitContainerBase = typedef Snippet::InitialiserContainerBase<VarInit, NumVars>

◆ VarReferenceContainerBase

template<size_t NumVars>
using Models::VarReferenceContainerBase = typedef Snippet::InitialiserContainerBase<VarReference, NumVars>

◆ WUVarReferenceContainerBase

template<size_t NumVars>
using Models::WUVarReferenceContainerBase = typedef Snippet::InitialiserContainerBase<WUVarReference, NumVars>

Function Documentation

◆ updateHash() [1/6]

void Models::updateHash ( const Base::Var v,
boost::uuids::detail::sha1 &  hash 
)

◆ updateHash() [2/6]

void Models::updateHash ( const Base::VarRef v,
boost::uuids::detail::sha1 &  hash 
)

◆ updateHash() [3/6]

void Models::updateHash ( const Base::EGPRef e,
boost::uuids::detail::sha1 &  hash 
)

◆ updateHash() [4/6]

void Models::updateHash ( const VarReference v,
boost::uuids::detail::sha1 &  hash 
)

◆ updateHash() [5/6]

void Models::updateHash ( const WUVarReference v,
boost::uuids::detail::sha1 &  hash 
)

◆ updateHash() [6/6]

void Models::updateHash ( const EGPReference v,
boost::uuids::detail::sha1 &  hash 
)