Commit 0efbcb0b authored by Ioannis Papagiannopoulos's avatar Ioannis Papagiannopoulos Committed by Georgios Dagkakis

JobList updated from init for use by printRoute method

parent 900c04af
......@@ -49,6 +49,8 @@ class Job(Entity): # inherits from the Entity c
self.extraPropertyDict = extraPropertyDict
# variable used to differentiate entities with and entities without routes
self.family='Job'
# append to G.JobList
G.JobList.append(self)
# used by printRoute
self.alias='J'+str(len(G.JobList))
......
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