CalcKernelSizeFunc typedef | InitSparseConnectivitySnippet::Base | |
CalcMaxLengthFunc typedef | InitSparseConnectivitySnippet::Base | |
DECLARE_SNIPPET(InitSparseConnectivitySnippet::FixedNumberPostWithReplacement, 1) | InitSparseConnectivitySnippet::FixedNumberPostWithReplacement | |
DerivedParamVec typedef | Snippet::Base | |
EGPVec typedef | Snippet::Base | |
getCalcKernelSizeFunc() const | InitSparseConnectivitySnippet::Base | inlinevirtual |
getCalcMaxColLengthFunc() const | InitSparseConnectivitySnippet::Base | inlinevirtual |
getCalcMaxRowLengthFunc() const | InitSparseConnectivitySnippet::Base | inlinevirtual |
getColBuildCode() const | InitSparseConnectivitySnippet::Base | inlinevirtual |
getColBuildStateVars() const | InitSparseConnectivitySnippet::Base | inlinevirtual |
getDerivedParams() const | Snippet::Base | inlinevirtual |
getExtraGlobalParamIndex(const std::string ¶mName) const | Snippet::Base | inline |
getExtraGlobalParams() const | Snippet::Base | inlinevirtual |
getHashDigest() const | InitSparseConnectivitySnippet::Base | |
getHostInitCode() const | InitSparseConnectivitySnippet::Base | inlinevirtual |
getNamedVecIndex(const std::string &name, const std::vector< T > &vec) | Snippet::Base | inlineprotectedstatic |
getParamNames() const override | InitSparseConnectivitySnippet::FixedNumberPostWithReplacement | inlinevirtual |
getRowBuildCode() const | InitSparseConnectivitySnippet::Base | inlinevirtual |
getRowBuildStateVars() const | InitSparseConnectivitySnippet::Base | inlinevirtual |
ParamValVec typedef | Snippet::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 typedef | Snippet::Base | |
updateHash(boost::uuids::detail::sha1 &hash) const | Snippet::Base | inlineprotected |
validate() const | InitSparseConnectivitySnippet::Base | |
~Base() | Snippet::Base | inlinevirtual |