Configuration.py 931 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. from datetime import datetime
  3. from aman.config.AirportSequencing import AirportSequencing
  4. class Configuration:
  5. def __init__(self, **kwargs):
  6. # the AMAN specific information
  7. self.RunwayConstraints = kwargs.get('constraints', None)
  8. self.PreceedingInbounds = kwargs.get('preceeding', None)
  9. self.Inbounds = kwargs.get('inbounds', None)
  10. self.EarliestArrivalTime = kwargs.get('earliest', None)
  11. self.WeatherModel = kwargs.get('weather', None)
  12. # the ACO specific information
  13. self.AntCount = kwargs.get('ants', 20)
  14. self.ExplorationRuns = kwargs.get('generations', 20)
  15. self.PheromoneEvaporationRate = 0.9
  16. self.PseudoRandomSelectionRate = 0.9
  17. self.propagationRatio = 0.9
  18. self.Epsilon = 0.1
  19. self.RunwayOccupasionRatio = 0.7
  20. self.Beta = 2.0
  21. self.ThetaZero = None