#include <NodeLocalMultiTargetDelayMap.h>
Public Types | |
typedef map< delaystep_t, spikegroupid_t > | delaymaptype |
typedef delaymaptype::const_iterator | const_iterator |
Public Member Functions | |
NodeLocalMultiTargetDelayMap () | |
virtual | ~NodeLocalMultiTargetDelayMap () |
void | insert (engineid_t src_eid, local_objectid_t oid, engineid_t dest_eng, delaystep_t delay, spikegroupid_t group) |
spikegroupid_t | find (engineid_t src_eng, local_objectid_t oid, engineid_t dest_eng, delaystep_t delay) |
const_iterator | beginDelays (engineid_t src_eng, local_objectid_t localid, engineid_t dest_eng) |
const_iterator | endDelays (engineid_t src_eng, local_objectid_t localid, engineid_t dest_eng) |
int | lastDestEngine (engineid_t src_eng, local_objectid_t localid) |
Protected Attributes | |
vector< vector< vector < delaymaptype > > > | _map |
Definition at line 13 of file NodeLocalMultiTargetDelayMap.h.
typedef map< delaystep_t, spikegroupid_t> NodeLocalMultiTargetDelayMap::delaymaptype |
Definition at line 18 of file NodeLocalMultiTargetDelayMap.h.
typedef delaymaptype::const_iterator NodeLocalMultiTargetDelayMap::const_iterator |
Definition at line 19 of file NodeLocalMultiTargetDelayMap.h.
NodeLocalMultiTargetDelayMap::NodeLocalMultiTargetDelayMap | ( | ) |
Definition at line 7 of file NodeLocalMultiTargetDelayMap.cpp.
NodeLocalMultiTargetDelayMap::~NodeLocalMultiTargetDelayMap | ( | ) | [virtual] |
Definition at line 10 of file NodeLocalMultiTargetDelayMap.cpp.
void NodeLocalMultiTargetDelayMap::insert | ( | engineid_t | src_eid, | |
local_objectid_t | oid, | |||
engineid_t | dest_eng, | |||
delaystep_t | delay, | |||
spikegroupid_t | group | |||
) |
Definition at line 21 of file NodeLocalMultiTargetDelayMap.cpp.
References _map.
Referenced by MultiThreadNetwork::addLocalSpikeMessage().
spikegroupid_t NodeLocalMultiTargetDelayMap::find | ( | engineid_t | src_eng, | |
local_objectid_t | oid, | |||
engineid_t | dest_eng, | |||
delaystep_t | delay | |||
) |
Definition at line 32 of file NodeLocalMultiTargetDelayMap.cpp.
References _map, and no_spikegroup.
Referenced by MultiThreadNetwork::addLocalSpikeMessage().
NodeLocalMultiTargetDelayMap::const_iterator NodeLocalMultiTargetDelayMap::beginDelays | ( | engineid_t | src_eng, | |
local_objectid_t | localid, | |||
engineid_t | dest_eng | |||
) |
Definition at line 47 of file NodeLocalMultiTargetDelayMap.cpp.
References _map.
Referenced by MultiThreadSpikeScheduler::scheduleSpike().
NodeLocalMultiTargetDelayMap::const_iterator NodeLocalMultiTargetDelayMap::endDelays | ( | engineid_t | src_eng, | |
local_objectid_t | localid, | |||
engineid_t | dest_eng | |||
) |
Definition at line 53 of file NodeLocalMultiTargetDelayMap.cpp.
References _map.
Referenced by MultiThreadSpikeScheduler::scheduleSpike().
int NodeLocalMultiTargetDelayMap::lastDestEngine | ( | engineid_t | src_eng, | |
local_objectid_t | localid | |||
) |
Definition at line 59 of file NodeLocalMultiTargetDelayMap.cpp.
References _map.
Referenced by MultiThreadSpikeScheduler::scheduleSpike().
vector<vector<vector<delaymaptype> > > NodeLocalMultiTargetDelayMap::_map [protected] |
Definition at line 37 of file NodeLocalMultiTargetDelayMap.h.
Referenced by beginDelays(), endDelays(), find(), insert(), and lastDestEngine().