CARLsim
6.1.0
CARLsim: a GPU-accelerated SNN simulator
|
spike generator for spike timing control More...
#include <pre_post_group_spikegen.h>
Public Member Functions | |
PrePostGroupSpikeGenerator (int interSpikeInterval, int offsetToFirstGroup, int firstGroup, int secondGroup) | |
int | nextSpikeTime (CARLsim *s, int grpId, int nid, int currentTime, int lastScheduledSpikeTime, int endOfTimeSlice) |
controls spike generation using a callback mechanism More... | |
void | updateOffset (int newOffset) |
Public Member Functions inherited from SpikeGenerator | |
virtual | ~SpikeGenerator () |
Definition at line 60 of file pre_post_group_spikegen.h.
PrePostGroupSpikeGenerator | ( | int | interSpikeInterval, |
int | offsetToFirstGroup, | ||
int | firstGroup, | ||
int | secondGroup | ||
) |
Definition at line 52 of file pre_post_group_spikegen.cpp.
|
virtual |
s | pointer to the simulator object |
grpId | the group id |
i | the neuron index in the group |
currentTime | the current simluation time |
lastScheduledSpikeTime | the last spike time which was scheduled |
endOfTimeSlice | the end of the current scheduling time slice. Spike times after this will not be scheduled. |
Implements SpikeGenerator.
Definition at line 60 of file pre_post_group_spikegen.cpp.
void updateOffset | ( | int | newOffset | ) |
Definition at line 74 of file pre_post_group_spikegen.cpp.