increase computational performance

This commit is contained in:
Sven Czarnian committed 2021-10-18 18:53:24 +02:00
1 parent d191da2303
commit 7c6d098812
6 files changed
+18 -19

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ class Colony:
tmp += timedelta(seconds = 20)
Colony.associateInbound(rwyManager, inbound, earliestArrivalTime, False)
overallDelay += inbound.PlannedArrivalTime - inbound.InitialArrivalTime
print(' ' + inbound.Report.aircraft.callsign + ': ' + inbound.PlannedRunway.Name + ' @ ' + str(inbound.PlannedArrivalTime) +
print(' ' + inbound.Callsign + ': ' + inbound.PlannedRunway.Name + ' @ ' + str(inbound.PlannedArrivalTime) +
' dt=' + str((inbound.PlannedArrivalTime - inbound.InitialArrivalTime).total_seconds()))
return overallDelay