Class RunwayHelper
java.lang.Object
org.deltava.beans.schedule.RunwayHelper
- All Implemented Interfaces:
RoutePair
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.beans.schedule.RoutePair
RoutePair.RoutePairImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRunways(Collection<RunwayUse> ruD, Collection<RunwayUse> ruA) Adds departure runway usage.voidaddSIDs(Collection<TerminalRoute> sids) Adds valid SIDs for the departure Airport.voidaddSTARs(Collection<TerminalRoute> stars) Adds valid STARs for the arrival Airport.Returns the arrival Airport.Returns the departure Airport.getRunways(boolean isDeparture) Filters and sorts appropriate Runways based on winds, terminal routes and popularity.getSIDs()Returns the loaded SIDs.getSTARs()Returns the loaded STARs.voidSets the weather at the Airports.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches, midPoint
-
Constructor Details
-
RunwayHelper
Creates the helper.- Parameters:
rp- the RoutePairac- an optional AircraftPolicyOptions for aircraft data
-
-
Method Details
-
getAirportD
Description copied from interface:RoutePairReturns the departure Airport.- Specified by:
getAirportDin interfaceRoutePair- Returns:
- the departure Airport
-
getAirportA
Description copied from interface:RoutePairReturns the arrival Airport.- Specified by:
getAirportAin interfaceRoutePair- Returns:
- the arrival Airport
-
getSIDs
Returns the loaded SIDs.- Returns:
- a Collection of TerminalRoutes
-
getSTARs
Returns the loaded STARs.- Returns:
- a Collection of TerminalRoutes
-
setMETAR
-
addSIDs
Adds valid SIDs for the departure Airport.- Parameters:
sids- a Collection of TerminalRoutes
-
addSTARs
Adds valid STARs for the arrival Airport.- Parameters:
stars- a Collection of TerminalRoutes
-
addRunways
Adds departure runway usage.- Parameters:
ruD- a Collection of departure RunwayUsage beeansruA- a Collection of arrival RunwayUsage beeans
-
getRunways
-