GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
InitSparseConnectivitySnippet::FixedNumberPostWithReplacement Member List

This is the complete list of members for InitSparseConnectivitySnippet::FixedNumberPostWithReplacement, including all inherited members.

CalcKernelSizeFunc typedefInitSparseConnectivitySnippet::Base
CalcMaxLengthFunc typedefInitSparseConnectivitySnippet::Base
DECLARE_SNIPPET(InitSparseConnectivitySnippet::FixedNumberPostWithReplacement, 1)InitSparseConnectivitySnippet::FixedNumberPostWithReplacement
DerivedParamVec typedefSnippet::Base
EGPVec typedefSnippet::Base
getCalcKernelSizeFunc() constInitSparseConnectivitySnippet::Baseinlinevirtual
getCalcMaxColLengthFunc() constInitSparseConnectivitySnippet::Baseinlinevirtual
getCalcMaxRowLengthFunc() constInitSparseConnectivitySnippet::Baseinlinevirtual
getColBuildCode() constInitSparseConnectivitySnippet::Baseinlinevirtual
getColBuildStateVars() constInitSparseConnectivitySnippet::Baseinlinevirtual
getDerivedParams() constSnippet::Baseinlinevirtual
getExtraGlobalParamIndex(const std::string &paramName) constSnippet::Baseinline
getExtraGlobalParams() constSnippet::Baseinlinevirtual
getHashDigest() constInitSparseConnectivitySnippet::Base
getHostInitCode() constInitSparseConnectivitySnippet::Baseinlinevirtual
getNamedVecIndex(const std::string &name, const std::vector< T > &vec)Snippet::Baseinlineprotectedstatic
getParamNames() const overrideInitSparseConnectivitySnippet::FixedNumberPostWithReplacementinlinevirtual
getRowBuildCode() constInitSparseConnectivitySnippet::Baseinlinevirtual
getRowBuildStateVars() constInitSparseConnectivitySnippet::Baseinlinevirtual
ParamValVec typedefSnippet::Base
SET_CALC_MAX_COL_LENGTH_FUNC([](unsigned int numPre, unsigned int numPost, const std::vector< double > &pars) { const double quantile=pow(0.9999, 1.0/(double) numPost);return binomialInverseCDF(quantile,(unsigned int) pars[0] *numPre, 1.0/(double) numPost);})InitSparseConnectivitySnippet::FixedNumberPostWithReplacement
SET_CALC_MAX_ROW_LENGTH_FUNC([](unsigned int, unsigned int, const std::vector< double > &pars) { return(unsigned int) pars[0];})InitSparseConnectivitySnippet::FixedNumberPostWithReplacement
SET_ROW_BUILD_CODE("if(c == 0) {\ " $(endRow);\" "}\" "const scalar u=$(gennrand_uniform);\" "x+=(1.0 - x) *(1.0 - pow(u, 1.0/(scalar) c));\" "unsigned int postIdx=(unsigned int)(x *$(num_post));\" "postIdx=(postIdx< $(num_post)) ? postIdx :($(num_post) - 1);\" "$(addSynapse, postIdx+$(id_post_begin));\" "c--;\")InitSparseConnectivitySnippet::FixedNumberPostWithReplacement
SET_ROW_BUILD_STATE_VARS({{"x", "scalar", 0.0},{"c", "unsigned int", "$(rowLength)"}})InitSparseConnectivitySnippet::FixedNumberPostWithReplacement
StringVec typedefSnippet::Base
updateHash(boost::uuids::detail::sha1 &hash) constSnippet::Baseinlineprotected
validate() constInitSparseConnectivitySnippet::Base
~Base()Snippet::Baseinlinevirtual