edu.mit.ll.group43.surfaceoptimization.measurement
Class MeasurementUtils
java.lang.Object
edu.mit.ll.group43.surfaceoptimization.measurement.MeasurementUtils
public class MeasurementUtils
- extends java.lang.Object
A collection of utility methods for classes that calculate metrics.
- Author:
- William Hawkins
Method Summary |
static java.util.ArrayList<Aircraft> |
takeoffSequence(java.util.ArrayList<Aircraft> sequence)
Returns the given sequence of aircraft in order of when
they will reach the runway based on their spot release
times and unimpeded taxi times. |
static int[] |
takeoffTimes(java.util.ArrayList<Aircraft> sequence)
Calculates what the takeoff times will be for the given sequence
with respect to minimum separation times being preserved, in order
of takeoff. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MeasurementUtils
public MeasurementUtils()
takeoffSequence
public static java.util.ArrayList<Aircraft> takeoffSequence(java.util.ArrayList<Aircraft> sequence)
- Returns the given sequence of aircraft in order of when
they will reach the runway based on their spot release
times and unimpeded taxi times.
- Parameters:
sequence
-
- Returns:
takeoffTimes
public static int[] takeoffTimes(java.util.ArrayList<Aircraft> sequence)
throws java.io.FileNotFoundException
- Calculates what the takeoff times will be for the given sequence
with respect to minimum separation times being preserved, in order
of takeoff. Sequence should be sorted according to runway ready
time before being passed to this method.
- Parameters:
sequence
-
- Returns:
-
- Throws:
java.io.FileNotFoundException