This commit is contained in:
Geoffrey Frogeye 2016-02-11 21:45:48 +01:00
parent 18070e0fb8
commit 128f6100b8

View file

@ -198,7 +198,7 @@ def end():
print("--- End!") print("--- End!")
# IA # IA
Dt = [[] for d in range(D)) # Drone tasks Dt = [[] for d in range(D)] # Drone tasks
# (client, product) # (client, product)
def nearestW(p, pos): def nearestW(p, pos):
@ -248,4 +248,4 @@ def WarehouseHasItems(w, items):
for i in range(0, len(items): for i in range(0, len(items):
if Wi[w][items[i][0]] < items[i][1]: if Wi[w][items[i][0]] < items[i][1]:
return False return False
return True return True