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 double
TraditionalStaticAssignmentSimulationData. collectTotalNetworkSegmentFlow(LinkSegment linkSegment)
Return the total flow through a link segment across all modesdouble
TraditionalStaticAssignment. 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 interface
PhysicalCost<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 double
GtfsLinkSegmentHelper. 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 boolean
GtfsLinkSegmentHelper. 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 double
LinkInflowOutflowAccessee. getLinkSegmentInflowPcuHour(LinkSegment linkSegment)
Get the total inflow rate of a link segment over all modesdefault double
LinkInflowOutflowAccessee. getLinkSegmentOutflowPcuHour(LinkSegment linkSegment)
Get the outflow rate of a link segment over all modesdouble
LinkVolumeAccessee. 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 class
MacroscopicLinkSegmentImpl
Link 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 class
UntypedPhysicalLayerImpl<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 class
LinkSegmentBase<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 LinkSegment
LinkSegmentBase. setNumberOfLanes(int numberOfLanes)
Set the number of lanesLinkSegment
LinkSegmentBase. 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. networkLayerLinkSegments
Service 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 ServiceLegSegmentImpl
ServiceLegSegmentFactoryImpl. 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 desiredvoid
ServiceLegSegmentImpl. 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 interface
UntypedLinkOutputTypeAdapter<T extends LinkSegment>
Interface defining the methods required for a link output adapterclass
UntypedLinkOutputTypeAdapterImpl<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.LineSegment
PlanitEntityGeoUtils. 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 interface
MacroscopicLinkSegment
Macroscopic 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 interface
UntypedPhysicalLayer<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_CLASS
additional id class for generating link segment idsMethods in org.goplanit.utils.network.layer.physical that return LinkSegment Modifier and Type Method Description LinkSegment
LinkSegmentFactory. create(Link parentLink, boolean directionAB)
Create link segmentLinkSegment
LinkSegment. 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 LinkSegment
Link. getLinkSegment(boolean directionAb)
collect edgeSegment as something extending LinkSegment which is to be expected for any link.default LinkSegment
Link. getLinkSegmentAb()
collect edgeSegment Ab as something extending LinkSegment which is to be expected for any link.default LinkSegment
Link. getLinkSegmentBa()
collect edgeSegment Ba as something extending LinkSegment which is to be expected for any link.LinkSegment
LinkSegmentFactory. registerNew(Link parentLink, boolean directionAb, boolean registerOnNodeAndLink)
Create link segment and register itLinkSegment
LinkSegment. setNumberOfLanes(int numberOfLanes)
Set the number of lanesLinkSegment
LinkSegment. 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)LinkSegment
LinkSegment. 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 LinkSegments
LinkSegments. deepCloneWithMapping(BiConsumer<LinkSegment,LinkSegment> mapper)
Deep clone implementation with mapping retained between original and copies createdLinkSegments
LinkSegments. 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 LinkSegment
ServiceLegSegment. getFirstPhysicalLinkSegment()
Collect the first physical link underpinning the service leg routedefault LinkSegment
ServiceLegSegment. 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 ServiceLegSegment
ServiceLegSegmentFactory. 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 desiredvoid
ServiceLegSegment. 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 LinkSegment
DirectedConnectoid. getAccessLinkSegment()
The edge segment that provides accessMethods in org.goplanit.utils.zoning with parameters of type LinkSegment Modifier and Type Method Description DirectedConnectoid
DirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment)
Create a new directed connectoid, without zone attached and using default lengthdefault DirectedConnectoid
DirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone)
Create a new directed connectoid, with default length 0default DirectedConnectoid
DirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, boolean syncXmlIdToId, Collection<Mode> allowedModes)
Create a new directed connectoid, with default length 0DirectedConnectoid
DirectedConnectoidFactory. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)
Create a new directed connectoiddefault DirectedConnectoid
DirectedConnectoidFactory. 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 providedvoid
DirectedConnectoid. 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 LinkSegment
DirectedConnectoidImpl. accessEdgeSegment
the access point to an infrastructure layerMethods in org.goplanit.zoning that return LinkSegment Modifier and Type Method Description LinkSegment
DirectedConnectoidImpl. getAccessLinkSegment()
The edge segment that provides accessMethods in org.goplanit.zoning with parameters of type LinkSegment Modifier and Type Method Description DirectedConnectoid
DirectedConnectoidFactoryImpl. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment)
Create a new directed connectoid, without zone attached and using default lengthDirectedConnectoid
DirectedConnectoidFactoryImpl. registerNew(boolean downstreamAccessNode, LinkSegment accessLinkSegment, Zone parentZone, double length)
Create a new directed connectoidvoid
DirectedConnectoidImpl. replaceAccessLinkSegment(LinkSegment accessEdgeSegment)
Replace the access link segment for this connectoidprotected void
DirectedConnectoidImpl. 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 void
UpdateDirectedConnectoidsOnBreakLinkSegmentHandler. updateConnectedAccessLinkSegment(DirectedVertex vertex, LinkSegment brokenEdgeSegment)
perform the actual update of the connectoids based on the broken edge segment
-