AnimatLab  2
Test
ConnectionGenerator Class Reference

used for fine-grained control over spike generation, using a callback mechanism More...

#include <snn.h>

+ Inheritance diagram for ConnectionGenerator:
+ Collaboration diagram for ConnectionGenerator:

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...
 

Detailed Description

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.

Definition at line 244 of file snn.h.

Member Function Documentation

virtual void ConnectionGenerator::connect ( CpuSNN s,
int  srcGrpId,
int  i,
int  destGrpId,
int  j,
float &  weight,
float &  maxWt,
float &  delay,
bool &  connected 
)
inlinevirtual

specifies which synaptic connections (per group, per neuron, per synapse) should be made

Attention
The virtual method should never be called directly

Reimplemented in AnimatCarlSim::CsConnectionGenerator.

Definition at line 250 of file snn.h.


The documentation for this class was generated from the following file: