Commit cd832a16 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

correction in Source so that it gives correct name to the entities

parent 89b55eb6
......@@ -75,6 +75,7 @@ class EntityGenerator(object):
#print self.env.now, 'appending to the list'
self.victim.scheduledEntities.append(self.env.now)
self.victim.outputTrace(entity.name, "generated") # output the trace
G.numberOfEntities+=1
yield self.env.timeout(self.victim.calculateInterarrivalTime()) # wait until the next arrival
#============================================================================
......
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