CARLsim  5.0.0
CARLsim: a GPU-accelerated SNN simulator
ConnectionGeneratorCore Class Reference

used for relaying callback to ConnectionGenerator More...

#include <callback_core.h>

Public Member Functions

 ConnectionGeneratorCore (CARLsim *c, ConnectionGenerator *cg)
 
virtual void connect (SNN *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

The class is used to store user-defined callback function and to be registered in core (i.e., snn_cpu.cpp) Once the core invokes the callback method of the class, the class relays all parameter and invokes user-defined callback function.

See also
ConnectionGenerator

Definition at line 90 of file callback_core.h.

Constructor & Destructor Documentation

◆ ConnectionGeneratorCore()

Definition at line 69 of file callback_core.cpp.

Member Function Documentation

◆ connect()

void connect ( SNN s,
int  srcGrpId,
int  i,
int  destGrpId,
int  j,
float &  weight,
float &  maxWt,
float &  delay,
bool &  connected 
)
virtual
Attention
The virtual method should never be called directly

Definition at line 74 of file callback_core.cpp.


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