extend the configuration to define the maximum delay to execute may-assignments
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
from aman.config.AirportSequencing import AirportSequencing
|
||||
from datetime import timedelta
|
||||
|
||||
class Configuration:
|
||||
def __init__(self, **kwargs):
|
||||
@@ -12,6 +10,7 @@ class Configuration:
|
||||
self.EarliestArrivalTime = kwargs.get('earliest', None)
|
||||
self.WeatherModel = kwargs.get('weather', None)
|
||||
self.NavData = kwargs.get('nav', None)
|
||||
self.MaxDelayMay = kwargs.get('maxDelayMay', timedelta(minutes=10))
|
||||
|
||||
# the ACO specific information
|
||||
self.AntCount = kwargs.get('ants', 20)
|
||||
|
||||
Reference in New Issue
Block a user