Class ServiceLegSegmentUtils


  • public class ServiceLegSegmentUtils
    extends Object
    Utilities for RoutedTripFrequency class
    Author:
    markr
    • Constructor Detail

      • ServiceLegSegmentUtils

        public ServiceLegSegmentUtils()
    • Method Detail

      • isMappedToServiceNetwork

        public static boolean isMappedToServiceNetwork​(ServiceLegSegment serviceLegSegment,
                                                       ServiceNetworkLayer serviceNetworkLayer)
        Verify if service leg segment is present in the service network layer, i.e., it is present on the service network containers., and its nodes are present on the service node contains.
        Parameters:
        serviceLegSegment - to verify
        serviceNetworkLayer - to check against
        Returns:
        true when mapped service network references exist and are valid, false otherwise