Uses of Interface
org.goplanit.utils.network.layer.physical.LinkSegment
-
-
Uses of LinkSegment in org.goplanit.assignment.traditionalstatic
Methods in org.goplanit.assignment.traditionalstatic with parameters of type LinkSegment Modifier and Type Method Description doubleTraditionalStaticAssignmentSimulationData. collectTotalNetworkSegmentFlow(LinkSegment linkSegment)Return the total flow through a link segment across all modesdoubleTraditionalStaticAssignment. getLinkSegmentVolume(LinkSegment linkSegment)#Get the total flow across a link over all modes -
Uses of LinkSegment in org.goplanit.converter.zoning
Methods in org.goplanit.converter.zoning that return types with arguments of type LinkSegment Modifier and Type Method Description static Collection<LinkSegment>ZoningConverterUtils. findAccessEntryLinkSegmentsForWaitingArea(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Node node, Mode accessMode, String countryName, boolean mustAvoidCrossingTraffic, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, Function<Node,String> getOverwrittenWaitingAreaSourceId, PlanitJtsCrsUtils geoUtils)Find the link segments that are accessible for the given access link, node, mode combination taking into account the relative location of the transfer zone if needed and mode compatibility.static Collection<? extends LinkSegment>ZoningConverterUtils. findAccessLinkSegmentsForWaitingArea(String waitingAreaSourceId, org.locationtech.jts.geom.Geometry waitingAreaGeometry, MacroscopicLink accessLink, String accessLinkSourceId, Mode accessMode, String countryName, boolean mustAvoidCrossingTraffic, Function<String,String> getOverwrittenAccessLinkSourceIdForWaitingAreaSourceId, Function<Node,String> getOverwrittenWaitingAreaSourceId, PlanitJtsCrsUtils geoUtils)static Collection<LinkSegment>ZoningConverterUtils. identifyLinkSegmentsOnWrongSideOf(org.locationtech.jts.geom.Geometry location, Collection<LinkSegment> accessLinkSegments, boolean leftHandDrive, PlanitJtsCrsUtils geoUtils)Find the access link segments ineligible given the intended location and the access mode.Method parameters in org.goplanit.converter.zoning with type arguments of type LinkSegment Modifier and Type Method Description static Collection<LinkSegment>ZoningConverterUtils. identifyLinkSegmentsOnWrongSideOf(org.locationtech.jts.geom.Geometry location, Collection<LinkSegment> accessLinkSegments, boolean leftHandDrive, PlanitJtsCrsUtils geoUtils)Find the access link segments ineligible given the intended location and the access mode. -
Uses of LinkSegment in org.goplanit.cost.physical
Classes in org.goplanit.cost.physical with type parameters of type LinkSegment Modifier and Type Interface Description interfacePhysicalCost<LS extends LinkSegment>Interface to classify costs of physical links Physical links can be either InitialPhysicalCosts (which are read in at the start and are constant) or PhysicalCosts (which are derived from other inputs and are recalculated after each iteration). -
Uses of LinkSegment in org.goplanit.gtfs.util
Methods in org.goplanit.gtfs.util with parameters of type LinkSegment Modifier and Type Method Description static doubleGtfsLinkSegmentHelper. getAzimuthFromLinkSegmentToCoordinate(LinkSegment linkSegment, org.locationtech.jts.geom.Coordinate coordinate, GtfsZoningHandlerData data)Based on coordinate draw a virtual line to closest intersection point on link segment and identify the azimuth (0-360 degrees) that goes with this virtual line from the intersection point on the link segment towards the coordinate providedstatic booleanGtfsLinkSegmentHelper. isGeometryOnCorrectSideOfLinkSegment(org.locationtech.jts.geom.Geometry geometry, LinkSegment linkSegment, boolean shouldBeOnLeft, PlanitJtsCrsUtils geoTools)check if geometry is on correct side of link segment by taking the link segment's extreme nodes as reference point. -
Uses of LinkSegment in org.goplanit.interactor
Methods in org.goplanit.interactor with parameters of type LinkSegment Modifier and Type Method Description default doubleLinkInflowOutflowAccessee. getLinkSegmentInflowPcuHour(LinkSegment linkSegment)Get the total inflow rate of a link segment over all modesdefault doubleLinkInflowOutflowAccessee. getLinkSegmentOutflowPcuHour(LinkSegment linkSegment)Get the outflow rate of a link segment over all modesdoubleLinkVolumeAccessee. getLinkSegmentVolume(LinkSegment linkSegment)Get the total flow across a link over all modes -
Uses of LinkSegment in org.goplanit.network.layer.macroscopic
Classes in org.goplanit.network.layer.macroscopic that implement LinkSegment Modifier and Type Class Description classMacroscopicLinkSegmentImplLink segment for macroscopic transport networks. -
Uses of LinkSegment in org.goplanit.network.layer.physical
Classes in org.goplanit.network.layer.physical with type parameters of type LinkSegment Modifier and Type Class Description classUntypedPhysicalLayerImpl<N extends Node,L extends Link,LS extends LinkSegment>Model free Network consisting of managed nodes, links, and link segments, each of which can be iterated over.Classes in org.goplanit.network.layer.physical that implement LinkSegment Modifier and Type Class Description classLinkSegmentBase<L extends Link>Link segment object representing physical links in the network and storing their propertiesMethods in org.goplanit.network.layer.physical that return LinkSegment Modifier and Type Method Description LinkSegmentLinkSegmentBase. setNumberOfLanes(int numberOfLanes)Set the number of lanesLinkSegmentLinkSegmentBase. setPhysicalSpeedLimitKmH(double maximumSpeed)This is the maximum speed that is physically present and a driver can observe from the signs on the road (km/h)Methods in org.goplanit.network.layer.physical that return types with arguments of type LinkSegment Modifier and Type Method Description LinkImpl<Node,LinkSegment>LinkFactoryImpl. registerNew(Node nodeA, Node nodeB, double lengthKm, boolean registerOnNodes)Create new link on links container, allow to be registered on nodes if indicated) -
Uses of LinkSegment in org.goplanit.network.layer.service
Fields in org.goplanit.network.layer.service with type parameters of type LinkSegment Modifier and Type Field Description protected List<? extends LinkSegment>ServiceLegSegmentImpl. networkLayerLinkSegmentsService leg's underlying links connecting its two service nodesMethods in org.goplanit.network.layer.service that return types with arguments of type LinkSegment Modifier and Type Method Description List<? extends LinkSegment>ServiceLegSegmentImpl. getPhysicalParentSegments()Collect the links that make up this leg ordered and in direction from A to BMethod parameters in org.goplanit.network.layer.service with type arguments of type LinkSegment Modifier and Type Method Description ServiceLegSegmentImplServiceLegSegmentFactoryImpl. registerNew(ServiceLeg parentLeg, boolean directionAb, List<LinkSegment> networkLayerLinkSegments, boolean registerOnServiceNodeAndLeg)create a new service leg segment and register it on the underlying container and allow the user to let the factory register the newly create segment on both the parent leg and service nodes in the correct direction if desiredvoidServiceLegSegmentImpl. setPhysicalParentSegments(List<? extends LinkSegment> networkLayerLinkSegments)Set the network layer links that make up this leg irrespective wether they have been set before.Constructor parameters in org.goplanit.network.layer.service with type arguments of type LinkSegment Constructor Description ServiceLegSegmentImpl(IdGroupingToken tokenId, ServiceLeg parentLeg, boolean directionAB, List<LinkSegment> networkLayerLinkSegments)Constructor -
Uses of LinkSegment in org.goplanit.output.adapter
Classes in org.goplanit.output.adapter with type parameters of type LinkSegment Modifier and Type Interface Description interfaceUntypedLinkOutputTypeAdapter<T extends LinkSegment>Interface defining the methods required for a link output adapterclassUntypedLinkOutputTypeAdapterImpl<LS extends LinkSegment>Top-level abstract class which defines the common methods required by Link output type adaptersMethods in org.goplanit.output.adapter that return types with arguments of type LinkSegment Modifier and Type Method Description GraphEntities<LinkSegment>PhysicalLinkOutputTypeAdapterImpl. getPhysicalLinkSegments(long infrastructureLayerId)Provide access to the link segments container -
Uses of LinkSegment in org.goplanit.tntp.converter.network
Methods in org.goplanit.tntp.converter.network that return types with arguments of type LinkSegment Modifier and Type Method Description Map<LinkSegment,Pair<Double,Double>>TntpNetworkReader. getParsedBprParameters()Provide read access to parsed bpr parameters of links (only available after parsing) -
Uses of LinkSegment in org.goplanit.utils.geo
Methods in org.goplanit.utils.geo with parameters of type LinkSegment Modifier and Type Method Description static org.locationtech.jts.geom.LineSegmentPlanitEntityGeoUtils. extractClosestLineSegmentToGeometryFromLinkSegment(org.locationtech.jts.geom.Geometry referenceGeometry, LinkSegment linkSegment, PlanitJtsCrsUtils geoUtils)Extract the closest existing linear line segment based on the closest two coordinates on the link segment geometry in its intended direction to the reference geometry provided -
Uses of LinkSegment in org.goplanit.utils.network.layer.macroscopic
Subinterfaces of LinkSegment in org.goplanit.utils.network.layer.macroscopic Modifier and Type Interface Description interfaceMacroscopicLinkSegmentMacroscopic traffic modeling oriented link segment. -
Uses of LinkSegment in org.goplanit.utils.network.layer.physical
Classes in org.goplanit.utils.network.layer.physical with type parameters of type LinkSegment Modifier and Type Interface Description interfaceUntypedPhysicalLayer<N extends Node,L extends Link,LS extends LinkSegment>Physical topological Network consisting of nodes, links and link segmentsFields in org.goplanit.utils.network.layer.physical with type parameters of type LinkSegment Modifier and Type Field Description static Class<LinkSegment>LinkSegment. LINK_SEGMENT_ID_CLASSadditional id class for generating link segment idsMethods in org.goplanit.utils.network.layer.physical that return LinkSegment Modifier and Type Method Description LinkSegmentLinkSegmentFactory. create(Link parentLink, boolean directionAB)Create link segmentLinkSegmentLinkSegment. deepClone()An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call.default LinkSegmentLink. getLinkSegment(boolean directionAb)collect edgeSegment as something extending LinkSegment which is to be expected for any link.default LinkSegmentLink. getLinkSegmentAb()collect edgeSegment Ab as something extending LinkSegment which is to be expected for any link.default LinkSegmentLink. getLinkSegmentBa()collect edgeSegment Ba as something extending LinkSegment which is to be expected for any link.LinkSegmentLinkSegmentFactory. registerNew(Link parentLink, boolean directionAb, boolean registerOnNodeAndLink)Create link segment and register itLinkSegmentLinkSegment. setNumberOfLanes(int numberOfLanes)Set the number of lanesLinkSegmentLinkSegment. setPhysicalSpeedLimitKmH(double maximumSpeedKmH)This is the maximum speed that is physically present and a driver can observe from the signs on the road (km/h)LinkSegmentLinkSegment. shallowClone()Create a shallow copy of this entityMethods in org.goplanit.utils.network.layer.physical that return types with arguments of type LinkSegment Modifier and Type Method Description default Class<? extends LinkSegment>LinkSegment. getLinkSegmentIdClass()Return class used to generate unique link ids via the id generatordefault Collection<? extends LinkSegment>Link. getLinkSegments()collect all available link segments of this linkdefault Pair<? extends LinkSegment,? extends LinkSegment>ConjugateLinkSegment. getOriginalAdjcentEdgeSegments()Adjacent edge segments in original graph for this conjugatedefault Pair<? extends LinkSegment,? extends LinkSegment>ConjugateLinkSegment. getOriginalAdjcentEdgeSegments()Adjacent edge segments in original graph for this conjugateMethod parameters in org.goplanit.utils.network.layer.physical with type arguments of type LinkSegment Modifier and Type Method Description LinkSegmentsLinkSegments. deepCloneWithMapping(BiConsumer<LinkSegment,LinkSegment> mapper)Deep clone implementation with mapping retained between original and copies createdLinkSegmentsLinkSegments. deepCloneWithMapping(BiConsumer<LinkSegment,LinkSegment> mapper)Deep clone implementation with mapping retained between original and copies created -
Uses of LinkSegment in org.goplanit.utils.network.layer.service
Methods in org.goplanit.utils.network.layer.service that return LinkSegment Modifier and Type Method Description default LinkSegmentServiceLegSegment. getFirstPhysicalLinkSegment()Collect the first physical link underpinning the service leg routedefault LinkSegmentServiceLegSegment. getLastPhysicalLinkSegment()Collect the last parent linkMethods in org.goplanit.utils.network.layer.service that return types with arguments of type LinkSegment Modifier and Type Method Description List<? extends LinkSegment>ServiceLegSegment. getPhysicalParentSegments()Collect the links that make up this leg ordered and in direction from A to BMethod parameters in org.goplanit.utils.network.layer.service with type arguments of type LinkSegment Modifier and Type Method Description ServiceLegSegmentServiceLegSegmentFactory. registerNew(ServiceLeg parentLeg, boolean directionAb, List<LinkSegment> networkLayerLinkSegments, boolean registerOnServiceNodeAndLeg)create a new service leg segment and register it on the underlying container and allow the user to let the factory register the newly create segment on both the parent leg and service nodes in the correct direction if desiredvoidServiceLegSegment. setPhysicalParentSegments(List<? extends LinkSegment> networkLayerLinkSegments)Set the network layer links that make up this leg irrespective wether they have been set before. -
Uses of LinkSegment in org.goplanit.utils.network.virtual
Methods in org.goplanit.utils.network.virtual that return types with arguments of type LinkSegment Modifier and Type Method Description default Pair<? extends LinkSegment,? extends LinkSegment>ConjugateConnectoidSegment. getOriginalAdjcentEdgeSegments()Adjacent edge segments in original graph for this conjugatedefault Pair<? extends LinkSegment,? extends LinkSegment>ConjugateConnectoidSegment. getOriginalAdjcentEdgeSegments()Adjacent edge segments in original graph for this conjugate -
Uses of LinkSegment in org.goplanit.utils.service.routed
Methods in org.goplanit.utils.service.routed that return types with arguments of type LinkSegment Modifier and Type Method Description default Map<List<LinkSegment>,List<RoutedTripSchedule>>RoutedTripsSchedule. groupByPhysicalLinkSegments()Group the individual schedules by (unique combination of) physical link segments -
Uses of LinkSegment in org.goplanit.utils.zoning
Methods in org.goplanit.utils.zoning that return LinkSegment Modifier and Type Method Description LinkSegmentDirectedConnectoid. getAccessLinkSegment()The edge segment that provides accessMethods in org.goplanit.utils.zoning with parameters of type LinkSegment Modifier and Type Method Description DirectedConnectoidDirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment)Create a new directed connectoid, without zone attached and using default lengthdefault DirectedConnectoidDirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone)Create a new directed connectoid, with default length 0default DirectedConnectoidDirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)Create a new directed connectoid, with default length 0DirectedConnectoidDirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)Create a new directed connectoiddefault DirectedConnectoidDirectedConnectoidFactory. registerNew(LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)Create a new directed connectoid, with default length 0, and choose downstream access node based on the link segment providedvoidDirectedConnectoid. replaceAccessLinkSegment(LinkSegment accessEdgeSegment)Replace the access link segment for this connectoid -
Uses of LinkSegment in org.goplanit.zoning
Fields in org.goplanit.zoning declared as LinkSegment Modifier and Type Field Description protected LinkSegmentDirectedConnectoidImpl. accessEdgeSegmentthe access point to an infrastructure layerMethods in org.goplanit.zoning that return LinkSegment Modifier and Type Method Description LinkSegmentDirectedConnectoidImpl. getAccessLinkSegment()The edge segment that provides accessMethods in org.goplanit.zoning with parameters of type LinkSegment Modifier and Type Method Description DirectedConnectoidDirectedConnectoidFactoryImpl. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment)Create a new directed connectoid, without zone attached and using default lengthDirectedConnectoidDirectedConnectoidFactoryImpl. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)Create a new directed connectoidvoidDirectedConnectoidImpl. replaceAccessLinkSegment(LinkSegment accessEdgeSegment)Replace the access link segment for this connectoidprotected voidDirectedConnectoidImpl. setAccessLinkSegment(LinkSegment accessEdgeSegment)Set the accessEdgeSegmentConstructors in org.goplanit.zoning with parameters of type LinkSegment Constructor Description DirectedConnectoidImpl(IdGroupingToken idToken, boolean downstreamAccessNode, LinkSegment accessLinkSegment)ConstructorDirectedConnectoidImpl(IdGroupingToken idToken, boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone accessZone, double length)Constructor -
Uses of LinkSegment in org.goplanit.zoning.modifier.event.handler
Methods in org.goplanit.zoning.modifier.event.handler with parameters of type LinkSegment Modifier and Type Method Description protected voidUpdateDirectedConnectoidsOnBreakLinkSegmentHandler. updateConnectedAccessLinkSegment(DirectedVertex vertex, LinkSegment brokenEdgeSegment)perform the actual update of the connectoids based on the broken edge segment
-