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

fix in PartJobShop so that it also takes float times

parent 7759bf94
...@@ -131,7 +131,7 @@ class Simulation(ACO.Simulation): ...@@ -131,7 +131,7 @@ class Simulation(ACO.Simulation):
route_list.append(route) route_list.append(route)
route = {"stationIdsList": list(self.getMachineNameSet(sequence_step)), route = {"stationIdsList": list(self.getMachineNameSet(sequence_step)),
"processingTime": {"distributionType": "Fixed", "processingTime": {"distributionType": "Fixed",
"mean": int(processing_time_list[j])}, "mean": float(processing_time_list[j])},
"setupTime": {"distributionType": "Fixed", "setupTime": {"distributionType": "Fixed",
"mean": .5}, # XXX hardcoded value "mean": .5}, # XXX hardcoded value
} }
......
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