rhcacsass.py 508 B

123456789101112131415161718
  1. # RHC-ACS-ASS Algorithm
  2. # This class is written to contain an implementation
  3. # of the Ant Colony System based upon the Receding Horizon
  4. # for Aircraft Arrival Sequencing
  5. class RhcAcsAss:
  6. k = 1 # Receding horizon counter
  7. N_rhc = 4 # The number of receding horizons
  8. T_ti = 1 # The scheduling window
  9. def __init__(self, n, t):
  10. self.N_rhc = n
  11. self.T_ti = t
  12. def find_aircraft_for_horizon(self, ki):
  13. # Omega(k) = [(k-1) * T_ti, (k+N_rhc-1) * T_ti]
  14. pass