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

#include <models.h>

Inheritance diagram for Models::VarInit:
Snippet::Init< InitVarSnippet::Base >

Public Member Functions

 VarInit (const InitVarSnippet::Base *snippet, const std::vector< double > &params)
 
 VarInit (double constant)
 
- Public Member Functions inherited from Snippet::Init< InitVarSnippet::Base >
 Init (const InitVarSnippet::Base *snippet, const std::vector< double > &params)
 
const InitVarSnippet::BasegetSnippet () const
 
const std::vector< double > & getParams () const
 
const std::vector< double > & getDerivedParams () const
 
void initDerivedParams (double dt)
 
boost::uuids::detail::sha1::digest_type getHashDigest () const
 

Detailed Description

Class used to bind together everything required to initialise a variable:

  1. A pointer to a variable initialisation snippet
  2. The parameters required to control the variable initialisation snippet

Constructor & Destructor Documentation

◆ VarInit() [1/2]

Models::VarInit::VarInit ( const InitVarSnippet::Base snippet,
const std::vector< double > &  params 
)
inline

◆ VarInit() [2/2]

Models::VarInit::VarInit ( double  constant)
inline

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