|
| DECLARE_SNIPPET (InitSparseConnectivitySnippet::FixedNumberPreWithReplacement, 1) |
|
| SET_COL_BUILD_CODE ("if(c == 0) {\ " $(endCol);\" "}\" "const unsigned int idPre=(unsigned int) ceil($(gennrand_uniform) *$(num_pre)) - 1;\" "$(addSynapse, idPre+$(id_pre_begin));\" "c--;\") |
|
| SET_COL_BUILD_STATE_VARS ({{"c", "unsigned int", "$(colLength)"}}) |
|
virtual StringVec | getParamNames () const override |
| Gets names of of (independent) model parameters. More...
|
|
| SET_CALC_MAX_ROW_LENGTH_FUNC ([](unsigned int numPre, unsigned int numPost, const std::vector< double > &pars) { const double quantile=pow(0.9999, 1.0/(double) numPre);return binomialInverseCDF(quantile,(unsigned int) pars[0] *numPost, 1.0/(double) numPre);}) |
|
| SET_CALC_MAX_COL_LENGTH_FUNC ([](unsigned int, unsigned int, const std::vector< double > &pars) { return(unsigned int) pars[0];}) |
|
virtual std::string | getRowBuildCode () const |
|
virtual ParamValVec | getRowBuildStateVars () const |
|
virtual std::string | getColBuildCode () const |
|
virtual ParamValVec | getColBuildStateVars () const |
|
virtual std::string | getHostInitCode () const |
|
virtual CalcMaxLengthFunc | getCalcMaxRowLengthFunc () const |
| Get function to calculate the maximum row length of this connector based on the parameters and the size of the pre and postsynaptic population. More...
|
|
virtual CalcMaxLengthFunc | getCalcMaxColLengthFunc () const |
| Get function to calculate the maximum column length of this connector based on the parameters and the size of the pre and postsynaptic population. More...
|
|
virtual CalcKernelSizeFunc | getCalcKernelSizeFunc () const |
| Get function to calculate kernel size required for this conenctor based on its parameters. More...
|
|
boost::uuids::detail::sha1::digest_type | getHashDigest () const |
| Update hash from snippet. More...
|
|
void | validate () const |
| Validate names of parameters etc. More...
|
|
virtual | ~Base () |
|
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...
|
|
Initialises connectivity with a fixed number of random synapses per column.
No need for ordering here so fine to sample directly from uniform distribution