Configuration.py 531 B

123456789101112131415
  1. #!/usr/bin/env python
  2. from aman.config.AirportSequencing import AirportSequencing
  3. class Configuration:
  4. def __init__(self, runwayInfo : AirportSequencing, antCount : int, explorationCount : int):
  5. # the AMAN specific information
  6. self.RunwayConstraints = runwayInfo
  7. self.PreceedingInbounds = None
  8. self.Inbounds = None
  9. # the ACO specific information
  10. self.AntCount = antCount
  11. self.ExplorationRuns = explorationCount
  12. self.PheromoneEvaporationRate = 0.9