AnimatLab
2
Test
|
used for fine-grained control over spike generation, using a callback mechanism More...
#include <snn.h>
Public Member Functions | |
virtual void | connect (CpuSNN *s, int srcGrpId, int i, int destGrpId, int j, float &weight, float &maxWt, float &delay, bool &connected) |
specifies which synaptic connections (per group, per neuron, per synapse) should be made More... | |
used for fine-grained control over spike generation, using a callback mechanism
The user can choose from a set of primitive pre-defined connection topologies, or he can implement a topology of their choice by using a callback mechanism. In the callback mechanism, the simulator calls a method on a user-defined class in order to determine whether a connection should be made or not. The user simply needs to define a method that specifies whether a connection should be made between a pre-synaptic neuron and a post-synaptic neuron, and the simulator will automatically call the method for all possible pre- and post-synaptic pairs. The user can then specify the connection's delay, initial weight, maximum weight, and whether or not it is plastic.
|
inlinevirtual |
specifies which synaptic connections (per group, per neuron, per synapse) should be made
Reimplemented in AnimatCarlSim::CsConnectionGenerator.