sort the FCFS list

Dieser Commit ist enthalten in:
Sven Czarnian committed 2021-10-15 18:10:01 +02:00
1 Ursprung 0c97e5aa67
Commit c835944e8d
1 Datei geändert
+1
+1
Datei anzeigen
@@ -109,6 +109,7 @@ class RecedingHorizonControl:
# check if we found relevant inbounds
if 0 != len(inbounds):
inbounds.sort(key = lambda x: x.InitialArrivalTime)
return inbounds, earliestArrivalTime
else:
return None, None