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 TypeMethodDescriptionvoid
addRunways
(Collection<RunwayUse> ruD, Collection<RunwayUse> ruA) Adds departure runway usage.void
addSIDs
(Collection<TerminalRoute> sids) Adds valid SIDs for the departure Airport.void
addSTARs
(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.void
Sets the weather at the Airports.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.deltava.beans.schedule.RoutePair
createKey, getAirports, getDistance, getFlightType, includes, isPopulated, matches
-
Constructor Details
-
RunwayHelper
Creates the helper.- Parameters:
rp
- the RoutePairac
- an optional AircraftPolicyOptions for aircraft data
-
-
Method Details
-
getAirportD
Description copied from interface:RoutePair
Returns the departure Airport.- Specified by:
getAirportD
in interfaceRoutePair
- Returns:
- the departure Airport
-
getAirportA
Description copied from interface:RoutePair
Returns the arrival Airport.- Specified by:
getAirportA
in 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
-