Class ServiceLegSegmentUtils
- java.lang.Object
-
- org.goplanit.utils.network.layer.service.ServiceLegSegmentUtils
-
public class ServiceLegSegmentUtils extends Object
Utilities for RoutedTripFrequency class- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description ServiceLegSegmentUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 verifyserviceNetworkLayer
- to check against- Returns:
- true when mapped service network references exist and are valid, false otherwise
-
-