new attribute added to entities to differentiate those with and without route...

new attribute added to entities to differentiate those with and without route attribute - (non)JobShop
parent aa014d4a
......@@ -58,6 +58,8 @@ class Entity(object):
# flag that signalizes that an entity is ready to enter a machine
# gets cold by the time it has finished its processing
self.hot=False
# variable used to differentiate entities with and entities without routes
self.family='Entity'
# =======================================================================
# outputs results to JSON File
......
......@@ -48,6 +48,8 @@ class Job(Entity): # inherits from the Entity c
# self.schedule=[] # keeps the result of the simulation.
# # A list with the stations and time of entrance
self.extraPropertyDict = extraPropertyDict
# variable used to differentiate entities with and entities without routes
self.family='Job'
# =======================================================================
# outputs results to JSON File
......
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