| Constructor and Description |
|---|
Routes() |
public static boolean isUnimodal(Route route)
public static boolean isIntermodal(Route route)
public static boolean isLongerThan(Route route, int meters)
public static boolean isLongerThan(Route route, Constants.GeneralizedModeOfTransportType mot, int meters)
public static boolean featuresMot(Route route, Constants.GeneralizedModeOfTransportType mot)
public static boolean featuresMot(Route route, Constants.DetailedModeOfTransportType mot)
public static boolean featuresExactlyTheseGeneralizedMots(Route route, Collection<Constants.GeneralizedModeOfTransportType> mots)
public static boolean featuresExactlyTheseDetailedMots(Route route, Collection<Constants.DetailedModeOfTransportType> mots)
public static boolean featuresGeneralizedMotsOtherThan(Route route, Collection<Constants.GeneralizedModeOfTransportType> mots)
public static boolean featuresDetailedMotsOtherThan(Route route, Collection<Constants.DetailedModeOfTransportType> mots)
public static boolean featuresSharedGeneralizedMot(Route route, Constants.GeneralizedModeOfTransportType type)
public static int countChanges(Route route)
public static int getWaitingSecondsForPublicTransport(Route route)
public static int getTotalDurationSecondsForMot(Route route, Constants.GeneralizedModeOfTransportType mot)
public static int getTotalDurationSecondsForMot(Route route, Constants.DetailedModeOfTransportType mot)
public static int countUniqueModesOfTransport(Route route)
public static List<RouteSegment> getSegmentsWithMot(Route route, Constants.GeneralizedModeOfTransportType mot)
public static List<RouteSegment> getSegmentsWithMot(Route route, Constants.DetailedModeOfTransportType mot)
public static Optional<RouteSegment> getFirstSegmentWithMot(Route route, Constants.GeneralizedModeOfTransportType mot)
public static Optional<RouteSegment> getFirstSegmentWithMot(Route route, Constants.DetailedModeOfTransportType mot)
Copyright © 2018. All rights reserved.