00001 #include "LocalDelayMap.h" 00002 00003 spikegroupid_t LocalDelayMap::find(local_objectid_t localid, delaystep_t delay) 00004 { 00005 if( localid >= _map.size() ) return no_spikegroup; 00006 00007 delaymaptype::const_iterator find_iter ; 00008 if ( (find_iter = _map[localid].find(delay)) != _map[localid].end() ) { 00009 return find_iter->second ; 00010 } 00011 00012 return no_spikegroup; 00013 }