//Iterator<Synapse,WeightTime> it = histTable.iterator();
for ( final Map.Entry<Synapse,TimeWeight> entry
: histTable.entrySet ( ) )
{
final Synapse syn = entry.getKey ( );
// get the relative weight
final TimeWeight tw = entry.getValue();
// channel 0 has STDP
if ( syn.getType ( ) == 0 )
{
// LTP only for close spikes
if ( lastFireTime < tw.time )
{