CARLsim
3.1.3
CARLsim: a GPU-accelerated SNN simulator
|
#include <callback.h>
Public Member Functions | |
virtual | ~ConnectionGenerator () |
virtual void | connect (CARLsim *s, int srcGrpId, int i, int destGrpId, int j, float &weight, float &maxWt, float &delay, bool &connected)=0 |
specifies which synaptic connections (per group, per neuron, per synapse) should be made More... | |
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.
Definition at line 85 of file callback.h.
|
inlinevirtual |
Definition at line 88 of file callback.h.
|
pure virtual |