Commit 12727f30 authored by Georgios Dagkakis's avatar Georgios Dagkakis

correction in skilled router

parent cf0ac062
......@@ -255,8 +255,8 @@ class SkilledRouter(Router):
if signal in receivedEvent:
transmitter, eventTime=signal.value
assert eventTime==self.env.now, 'the station finished signal must be received on the time of request'
self.expectedFinishSignals.remove(signal)
del self.expectedFinishSignalsDict[station.id]
self.expectedFinishSignals.remove(signal)
del self.expectedFinishSignalsDict[transmitter.id]
for id in solution.keys():
operator=findObjectById(id)
station=findObjectById(solution[id])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment