edu.mit.ll.group43.surfaceoptimization.aircraft
Class Aircraft
java.lang.Object
edu.mit.ll.group43.surfaceoptimization.aircraft.Aircraft
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable<Aircraft>
public class Aircraft
- extends java.lang.Object
- implements java.lang.Cloneable, java.lang.Comparable<Aircraft>
Represents an aircraft, whose file and FCFS indexes, spot ready time,
unimpeded taxi time, and weight class are given. Its optimal spot
release time is solved for and set by a scheduling algorithm, which
takes the inputs of each aircraft into account.
- Author:
- William Hawkins
Constructor Summary |
Aircraft(WeightClass weightClass,
int fileIndex,
int spotReadyTime,
int unimpTaxiTime)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Aircraft
public Aircraft(WeightClass weightClass,
int fileIndex,
int spotReadyTime,
int unimpTaxiTime)
getCreated
public static int getCreated()
getOptReleaseTime
public int getOptReleaseTime()
setOptReleaseTime
public void setOptReleaseTime(int optReadyTime)
getWeightClass
public WeightClass getWeightClass()
getSpotReadyTime
public int getSpotReadyTime()
getUnimpTaxiTime
public int getUnimpTaxiTime()
getFileIndex
public int getFileIndex()
getFcfsIndex
public int getFcfsIndex()
setFcfsIndex
public void setFcfsIndex(int fcfsIndex)
getRunwayReadyTime
public int getRunwayReadyTime()
compareTo
public int compareTo(Aircraft other)
- Specified by:
compareTo
in interface java.lang.Comparable<Aircraft>
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
clone
public Aircraft clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getOptTakeOffIndex
public int getOptTakeOffIndex()
setOptTakeOffIndex
public void setOptTakeOffIndex(int optTakeOffIndex)