Commit 2fa9d40a authored by Georgios Dagkakis's avatar Georgios Dagkakis

comment removed

parent d4ec1c3b
......@@ -129,9 +129,7 @@ class ShiftScheduler(ObjectInterruption):
# so off-shift should not happen at such a case
if len(self.remainingShiftPattern)>1:
if self.env.now>self.remainingShiftPattern[1][0]:
self.remainingShiftPattern.pop(0)
if self.victim.id=='St4M0':
print '------', self.env.now, 'break skipped'
self.remainingShiftPattern.pop(0)
# if there is no more shift data break the loop
if len(self.remainingShiftPattern)==0:
break
......
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