Uses of Interface
org.goplanit.utils.graph.EdgeSegment
-
-
Uses of EdgeSegment in org.goplanit.algorithms.shortestpath
Fields in org.goplanit.algorithms.shortestpath declared as EdgeSegment Modifier and Type Field Description protected EdgeSegment[]ShortestPathResultImpl. incomingEdgeSegmentthe preceding vertex to reach the vertex with the given measured costMethods in org.goplanit.algorithms.shortestpath that return EdgeSegment Modifier and Type Method Description EdgeSegmentMinMaxPathResultImpl. getIncomingEdgeSegmentForVertex(Vertex vertex)Find the incoming edge segment for a given vertexEdgeSegmentShortestPathResult. getIncomingEdgeSegmentForVertex(Vertex vertex)Find the incoming edge segment for a given vertexEdgeSegmentShortestPathResultImpl. getIncomingEdgeSegmentForVertex(Vertex vertex)Find the incoming edge segment for a given vertexMethod parameters in org.goplanit.algorithms.shortestpath with type arguments of type EdgeSegment Modifier and Type Method Description default intShortestPathResult. forEachBackwardEdgeSegment(Vertex origin, Vertex destination, Consumer<EdgeSegment> backwardEdgeSegmentConsumer)apply consumer to each edge segment on backward path from destination to origin.Constructors in org.goplanit.algorithms.shortestpath with parameters of type EdgeSegment Constructor Description MinMaxPathResultImpl(double[] minVertexCost, EdgeSegment[] minCostBackwardEdgeSegments, double[] maxVertexCost, EdgeSegment[] maxCostBackwardEdgeSegments)ConstructorShortestPathResultImpl(double[] vertexMeasuredCost, EdgeSegment[] incomingEdgeSegment)Constructor only to be used by shortest path algorithms -
Uses of EdgeSegment in org.goplanit.assignment.ltm.sltm
Methods in org.goplanit.assignment.ltm.sltm that return EdgeSegment Modifier and Type Method Description static EdgeSegment[]PasManager. createSubpathArrayFrom(DirectedVertex start, DirectedVertex end, Map<DirectedVertex,EdgeSegment> pathTree, int arrayLength, boolean truncateArray)Extract a subpath in the form of a raw edge segment array from start to end vertex based on a map representing a tree with succeeding edge segments for each vertexstatic EdgeSegment[]PasManager. createSubpathArrayFrom(DirectedVertex start, DirectedVertex end, ShortestPathResult pathTree, int arrayLength, boolean truncateArray)Extract a subpath in the form of a raw edge segment array from start to end vertex based on the shortest path result provided.EdgeSegment[]Pas. getAlternative(boolean lowCostSegment)Access to the two alternatives that reflect the PASEdgeSegmentPas. getFirstEdgeSegment(boolean lowCostSegment)Collect the first edge segment of one of the two segmentsEdgeSegmentPas. getLastEdgeSegment(boolean lowCostSegment)Collect the last edge segment of one of the two segmentsEdgeSegmentPas. matchFirst(boolean lowCostSegment, Predicate<EdgeSegment> predicate)Match first link segment of PAS segment to predicate providedMethods in org.goplanit.assignment.ltm.sltm that return types with arguments of type EdgeSegment Modifier and Type Method Description Pair<DirectedVertex,Map<DirectedVertex,EdgeSegment>>Bush. findBushAlternativeSubpath(DirectedVertex mergeVertex, short[] alternativeSubpathVertexLabels)The alternative subpath (not in this bush) is provided as link segment labels of value -1.Methods in org.goplanit.assignment.ltm.sltm with parameters of type EdgeSegment Modifier and Type Method Description voidBush. addTurnSendingFlow(EdgeSegment fromEdgeSegment, EdgeSegment toEdgeSegment, double turnSendingflowPcuH)Add turn sending flow to the bush.voidBushTurnData. addTurnSendingFlow(EdgeSegment fromSegment, EdgeSegment toSegment, double turnSendingFlow)Add turn sending flow for a given turndoubleBush. computeSubPathAcceptedFlow(DirectedVertex startVertex, DirectedVertex endVertex, EdgeSegment[] subPathArray, double[] linkSegmentAcceptanceFactors)Determine the accepted flow between origin,destination vertex using the subpath given by the subPathArray in order from start to finish.doubleBush. computeSubPathSendingFlow(DirectedVertex startVertex, DirectedVertex endVertex, EdgeSegment[] subPathArray)Determine the sending flow between origin,destination vertex using the subpath given by the subPathArray in order from start to finish.booleanBush. containsEdgeSegment(EdgeSegment edgeSegment)Verify if the bush contains the given edge segmentbooleanBush. containsTurnSendingFlow(EdgeSegment entrySegment, EdgeSegment exitSegment)Verify if the provided turn has any registered sending flowbooleanBushTurnData. containsTurnSendingFlow(EdgeSegment fromSegment, EdgeSegment toSegment)Check if entry existsprotected static PasPas. create(EdgeSegment[] s1, EdgeSegment[] s2)Create a new PAS (factory method)PasPasManager. createNewPas(Bush originBush, EdgeSegment[] s1, EdgeSegment[] s2)create a new PAS for the given cheap and expensive paired alternative segments (subpaths) and register the origin bush on it that was responsible for creating itdoubleBush. getSendingFlowPcuH(EdgeSegment edgeSegment)Collect the sending flow of an edge segment in the bush, if not present, zero flow is returneddoubleBush. getSplittingRate(EdgeSegment entrySegment, EdgeSegment exitSegment)Collect the bush splitting rate on the given turndoubleBushTurnData. getSplittingRate(EdgeSegment fromSegment, EdgeSegment toSegment)Collect the splitting rates for a given link segment.double[]Bush. getSplittingRates(EdgeSegment entrySegment)Collect the bush splitting rates for a given incoming edge segmentdouble[]BushTurnData. getSplittingRates(EdgeSegment fromSegment)Collect the splitting rates for a given link segment.doubleBushTurnData. getTotalSendingFlowPcuH(EdgeSegment fromSegment)Total sending flows s_a from given segmentdoubleBush. getTurnSendingFlow(EdgeSegment fromEdgeSegment, EdgeSegment toEdgeSegment)Collect bush turn sending flow (if any)doubleBushTurnData. getTurnSendingFlowPcuH(EdgeSegment fromSegment, EdgeSegment toSegment)Get the turn sending flow for a given turnvoidBush. removeTurn(EdgeSegment fromEdgeSegment, EdgeSegment toEdgeSegment)Remove a turn from the bush by removing it from the acyclic graph and removing any data associated with itvoidBushTurnData. removeTurn(EdgeSegment fromEdgeSegment, EdgeSegment toEdgeSegment)Remove the turnvoidBushTurnData. updateTurnSendingFlow(EdgeSegment fromSegment, EdgeSegment toSegment, double turnSendingFlow)Update the turn sending flow for a given turnMethod parameters in org.goplanit.assignment.ltm.sltm with type arguments of type EdgeSegment Modifier and Type Method Description doubleBush. computeSubPathSendingFlow(DirectedVertex startVertex, DirectedVertex endVertex, Map<DirectedVertex,EdgeSegment> subPathMap)Determine the sending flow between origin,destination vertex using the subpath given by the subPathMap, where each vertex provides its exit segment.static EdgeSegment[]PasManager. createSubpathArrayFrom(DirectedVertex start, DirectedVertex end, Map<DirectedVertex,EdgeSegment> pathTree, int arrayLength, boolean truncateArray)Extract a subpath in the form of a raw edge segment array from start to end vertex based on a map representing a tree with succeeding edge segments for each vertexvoidPas. forEachEdgeSegment(boolean lowCostSegment, Consumer<EdgeSegment> edgeSegmentConsumer)Apply consumer to each edgeSegment on one of the cost segmentsEdgeSegmentPas. matchFirst(boolean lowCostSegment, Predicate<EdgeSegment> predicate)Match first link segment of PAS segment to predicate provided -
Uses of EdgeSegment in org.goplanit.assignment.ltm.sltm.consumer
Methods in org.goplanit.assignment.ltm.sltm.consumer with parameters of type EdgeSegment Modifier and Type Method Description voidInitialiseBushEdgeSegmentDemandConsumer. accept(EdgeSegment edgeSegment)protected voidBushFlowUpdateConsumer. applyAcceptedTurnFlowUpdate(int prevSegmentId, EdgeSegment currentSegment, double turnAcceptedFlow)Register the bush accepted turn flow to the turn if required.protected voidBushTurnFlowUpdateConsumer. applyAcceptedTurnFlowUpdate(int prevSegmentId, EdgeSegment currentSegment, double turnAcceptedFlowPcuH)track the turn accepted flows when they are classified as being tracked, otherwise do nothingprotected abstract voidPathFlowUpdateConsumer. applyPathFinalSegmentFlowUpdate(EdgeSegment lastEdgeSegment, double acceptedPathFlowRate)Apply the flow to a final path segment (and update link sending flow if required) which has no outgoing edge segment on the turnprotected voidPathLinkSendingFlowUpdateConsumer. applyPathFinalSegmentFlowUpdate(EdgeSegment lastEdgeSegment, double acceptedPathFlowRate)Apply final path flow on last segment that otherwise would not have been updated in the turn basedPathLinkSendingFlowUpdateConsumer.applySingleFlowUpdate(int, EdgeSegment, double)protected voidPathTurnFlowUpdateConsumer. applyPathFinalSegmentFlowUpdate(EdgeSegment lastEdgeSegment, double acceptedPathFlowRate)DO NOTHING - since this is a turn update and the final turn has no outgoing edge segment it is never tracked (because it does not exist), therefore, we can disregard updating the final segment flow in a turn flow update setting, even when tracking link segment sending flows (since this sending flow is never required as input to a node model updateprotected abstract doublePathFlowUpdateConsumer. applySingleFlowUpdate(int prevSegmentId, EdgeSegment currentSegment, double turnSendingFlowPcuH)Apply the flow to the turn (and update link sending flow if required)protected doublePathLinkSendingFlowUpdateConsumer. applySingleFlowUpdate(int prevSegmentId, EdgeSegment currentSegment, double turnSendingFlowPcuH)For each entry segment update the in(sending)flowprotected doublePathTurnFlowUpdateConsumer. applySingleFlowUpdate(int prevSegmentId, EdgeSegment currentSegment, double turnSendingFlowPcuH)Apply the flow to the turn (and update link sending flow if required) -
Uses of EdgeSegment in org.goplanit.assignment.ltm.sltm.loading
Methods in org.goplanit.assignment.ltm.sltm.loading with parameters of type EdgeSegment Modifier and Type Method Description doubleStaticLtmLoadingBush. computeSubPathSendingFlow(DirectedVertex startVertex, DirectedVertex endVertex, EdgeSegment[] subPathArray)Determine the sending flow between origin,destination vertex using the subpath given by the subPathArray in order from start to finish.default doubleSplittingRateData. getSplittingRate(EdgeSegment entrySegment, EdgeSegment exitSegment)Obtain the splitting rate of a given turn (non-modifiable)org.ojalgo.array.Array1D<Double>SplittingRateData. getSplittingRates(EdgeSegment entrySegment)Obtain the downstream splitting rates of given node entry segment (can be modified)org.ojalgo.array.Array1D<Double>SplittingRateDataComplete. getSplittingRates(EdgeSegment entrySegment)Obtain the downstream splitting rates of given node entry segment (can be modified)org.ojalgo.array.Array1D<Double>SplittingRateDataPartial. getSplittingRates(EdgeSegment entrySegment)Obtain the downstream splitting rates of given node entry segment (can be modified) -
Uses of EdgeSegment in org.goplanit.cost
Classes in org.goplanit.cost with type parameters of type EdgeSegment Modifier and Type Interface Description interfaceCost<T extends EdgeSegment>Cost of an EdgeSegment -
Uses of EdgeSegment in org.goplanit.graph.directed
Classes in org.goplanit.graph.directed with type parameters of type EdgeSegment Modifier and Type Class Description classDirectedGraphImpl<V extends DirectedVertex,E extends DirectedEdge,ES extends EdgeSegment>A directed graph implementation consisting of directed vertices, directed edges and edge segmentsclassUntypedDirectedGraphImpl<V extends DirectedVertex,E extends DirectedEdge,ES extends EdgeSegment>A directed graph implementation consisting of directed vertices and directed edgesClasses in org.goplanit.graph.directed that implement EdgeSegment Modifier and Type Class Description classEdgeSegmentImplEdgeSegment represents an edge in a particular (single) direction.Fields in org.goplanit.graph.directed with type parameters of type EdgeSegment Modifier and Type Field Description protected Set<EdgeSegment>DirectedVertexImpl. entryEdgeSegmentsEntry edge segments which connect to this vertexprotected Set<EdgeSegment>DirectedVertexImpl. exitEdgeSegmentsExit edge segments which connect to this vertexMethods in org.goplanit.graph.directed that return EdgeSegment Modifier and Type Method Description EdgeSegmentEdgeSegmentFactoryImpl. create(DirectedEdge parentEdge, boolean directionAB)Create edge segmentEdgeSegmentDirectedEdgeImpl. getEdgeSegmentAb()Edge segment in the direction from A to BEdgeSegmentDirectedEdgeImpl. getEdgeSegmentBa()Edge segment in the direction from B to AEdgeSegmentDirectedEdgeImpl. registerEdgeSegment(EdgeSegment edgeSegment, boolean directionAB)Register EdgeSegment.EdgeSegmentEdgeSegmentFactoryImpl. registerNew(DirectedEdge parentEdge, boolean directionAb, boolean registerOnVertexAndEdge)Create directional edge segment and register itMethods in org.goplanit.graph.directed that return types with arguments of type EdgeSegment Modifier and Type Method Description Set<EdgeSegment>DirectedVertexImpl. getEntryEdgeSegments()Collect the entry edge segments of this vertex (unmodifiable)Set<EdgeSegment>DirectedVertexImpl. getExitEdgeSegments()Collect the exit edge segments of this vertex (unmodifiable)Methods in org.goplanit.graph.directed with parameters of type EdgeSegment Modifier and Type Method Description booleanDirectedVertexImpl. addEdgeSegment(EdgeSegment edgeSegment)Add edgeSegment, do not invoke when parsing networks, this connection is auto-populated before the assignment starts based on the edge segment vertices that have been registered.voidEdgeSegmentsImpl. register(DirectedEdge parentEdge, EdgeSegment edgeSegment, boolean directionAB)Register a edge segment (not registered on nodes and edge)EdgeSegmentDirectedEdgeImpl. registerEdgeSegment(EdgeSegment edgeSegment, boolean directionAB)Register EdgeSegment.booleanDirectedVertexImpl. removeEdgeSegment(EdgeSegment edgeSegment)Remove edgeSegment on either entry or exit side of vertexbooleanDirectedVertexImpl. removeEntryEdgeSegment(EdgeSegment edgeSegment)Remove entry edgeSegmentbooleanDirectedVertexImpl. removeExitEdgeSegment(EdgeSegment edgeSegment)Remove exit edgeSegmentvoidDirectedEdgeImpl. replace(EdgeSegment edgeSegmentToReplace, EdgeSegment edgeSegmentToReplaceWith)replace passed in edge segment (if present) with the passed in oneprotected voidDirectedEdgeImpl. setEdgeSegmentAb(EdgeSegment edgeSegmentAb)set edge segment from A to Bprotected voidDirectedEdgeImpl. setEdgeSegmentBa(EdgeSegment edgeSegmentBa)set edge segment from B to A -
Uses of EdgeSegment in org.goplanit.graph.directed.acyclic
Methods in org.goplanit.graph.directed.acyclic with parameters of type EdgeSegment Modifier and Type Method Description voidACyclicSubGraphImpl. addEdgeSegment(EdgeSegment edgeSegment)Register an edge segment on the subgraphbooleanACyclicSubGraphImpl. containsEdgeSegment(EdgeSegment edgeSegment)Verify if given edge segment is registered on this subgraphvoidACyclicSubGraphImpl. removeEdgeSegment(EdgeSegment edgeSegment)Remove an edge segment on the subgraph -
Uses of EdgeSegment in org.goplanit.graph.modifier.event
Methods in org.goplanit.graph.modifier.event that return EdgeSegment Modifier and Type Method Description EdgeSegmentBreakEdgeSegmentEvent. getNewlyBrokenEdgeSegment()Collect broken edge segmentEdgeSegmentRemoveSubGraphEdgeSegmentEvent. getRemovedEdgeSegment()The removed edge segmentConstructors in org.goplanit.graph.modifier.event with parameters of type EdgeSegment Constructor Description BreakEdgeSegmentEvent(DirectedGraphModifier source, DirectedVertex vertexToBreakAt, EdgeSegment brokenEdgeSegment)constructorRemoveSubGraphEdgeSegmentEvent(GraphModifier<?,?> source, EdgeSegment removedEdgeSegment)Constructor -
Uses of EdgeSegment in org.goplanit.network.layer
Classes in org.goplanit.network.layer with type parameters of type EdgeSegment Modifier and Type Class Description classUntypedNetworkLayerImpl<V extends DirectedVertex,E extends DirectedEdge,S extends EdgeSegment>Model free network layer consisting of containers for vertices, edges, and edge segments each of which can be typed separately. -
Uses of EdgeSegment in org.goplanit.network.layer.macroscopic
Classes in org.goplanit.network.layer.macroscopic that implement EdgeSegment Modifier and Type Class Description classMacroscopicLinkSegmentImplLink segment for macroscopic transport networks. -
Uses of EdgeSegment in org.goplanit.network.layer.modifier
Classes in org.goplanit.network.layer.modifier with type parameters of type EdgeSegment Modifier and Type Class Description classUntypedNetworkLayerModifierImpl<V extends DirectedVertex,E extends DirectedEdge,S extends EdgeSegment>Modifier class for model free network layer, generics used to allow derived classes to provide typed versions for containers and content of containers. -
Uses of EdgeSegment in org.goplanit.network.layer.physical
Classes in org.goplanit.network.layer.physical that implement EdgeSegment Modifier and Type Class Description classLinkSegmentImplLink segment object representing physical links in the network and storing their properties -
Uses of EdgeSegment in org.goplanit.network.layer.service
Classes in org.goplanit.network.layer.service that implement EdgeSegment Modifier and Type Class Description classServiceLegSegmentImplA service leg segment implementation.Methods in org.goplanit.network.layer.service with parameters of type EdgeSegment Modifier and Type Method Description booleanServiceNodeImpl. addEdgeSegment(EdgeSegment serviceLegSegment)Add edgeSegment, do not invoke when parsing networks, this connection is auto-populated before the assignment starts based on the edge segment vertices that have been registered. -
Uses of EdgeSegment in org.goplanit.network.transport
Methods in org.goplanit.network.transport with parameters of type EdgeSegment Modifier and Type Method Description protected voidTransportModelNetwork. connectVerticesToEdgeSegment(EdgeSegment edgeSegment)Add edge segment to the incoming or outgoing set of edge segments for the related verticesprotected voidTransportModelNetwork. disconnectVerticesFromEdgeSegment(EdgeSegment edgeSegment)Remove edge segment from the incoming or outgoing set of edge segments for the related vertices -
Uses of EdgeSegment in org.goplanit.network.virtual
Classes in org.goplanit.network.virtual that implement EdgeSegment Modifier and Type Class Description classConnectoidSegmentImplThe link segment that connects a zone to the physical network is not a physical link segment. -
Uses of EdgeSegment in org.goplanit.osm.util
Methods in org.goplanit.osm.util that return types with arguments of type EdgeSegment Modifier and Type Method Description static Collection<EdgeSegment>PlanitTransferZoneUtils. identifyInvalidTransferZoneAccessLinkSegmentsBasedOnRelativeLocationToInfrastructure(Collection<EdgeSegment> accessLinkSegments, TransferZone transferZone, Mode planitMode, boolean leftHandDrive, PlanitJtsCrsUtils geoUtils)Find the access link segments ineligible given the intended location of the to be created connectoid, the transfer zone provided, and the access mode.Method parameters in org.goplanit.osm.util with type arguments of type EdgeSegment Modifier and Type Method Description static Collection<EdgeSegment>PlanitTransferZoneUtils. identifyInvalidTransferZoneAccessLinkSegmentsBasedOnRelativeLocationToInfrastructure(Collection<EdgeSegment> accessLinkSegments, TransferZone transferZone, Mode planitMode, boolean leftHandDrive, PlanitJtsCrsUtils geoUtils)Find the access link segments ineligible given the intended location of the to be created connectoid, the transfer zone provided, and the access mode. -
Uses of EdgeSegment in org.goplanit.path
Methods in org.goplanit.path that return types with arguments of type EdgeSegment Modifier and Type Method Description Iterator<EdgeSegment>DirectedPathImpl. iterator()Method parameters in org.goplanit.path with type arguments of type EdgeSegment Modifier and Type Method Description booleanDirectedPathImpl. containsSubPath(Collection<? extends EdgeSegment> subPath)Verify if the path contains the provided subpath.DirectedPathDirectedPathFactoryImpl. createNew(Deque<? extends EdgeSegment> edgeSegments)Create new pathDirectedPathContainerisedDirectedPathFactoryImpl. registerNew(Deque<? extends EdgeSegment> edgeSegments)Create new path based on the provided edge segmentsConstructor parameters in org.goplanit.path with type arguments of type EdgeSegment Constructor Description DirectedPathImpl(IdGroupingToken groupId, Deque<? extends EdgeSegment> pathEdgeSegments)Constructor -
Uses of EdgeSegment in org.goplanit.utils.geo
Methods in org.goplanit.utils.geo with type parameters of type EdgeSegment Modifier and Type Method Description static <T extends EdgeSegment>
org.locationtech.jts.geom.LineSegmentPlanitGraphGeoUtils. extractClosestLineSegmentTo(org.locationtech.jts.geom.Geometry referenceGeometry, T edgeSegment, PlanitJtsCrsUtils geoUtils)Extract the JTS line segment from the edge segment that is closest to the reference geometry in its intended direction. -
Uses of EdgeSegment in org.goplanit.utils.graph
Classes in org.goplanit.utils.graph with type parameters of type EdgeSegment Modifier and Type Interface Description interfaceUntypedDirectedGraph<V extends DirectedVertex,E extends DirectedEdge,ES extends EdgeSegment>Interface for a directed graphFields in org.goplanit.utils.graph with type parameters of type EdgeSegment Modifier and Type Field Description static Class<EdgeSegment>EdgeSegment. EDGE_SEGMENT_ID_CLASSid class for generating idsMethods in org.goplanit.utils.graph that return EdgeSegment Modifier and Type Method Description EdgeSegmentEdgeSegment. clone()Clone the edge segmentMethods in org.goplanit.utils.graph that return types with arguments of type EdgeSegment Modifier and Type Method Description default Class<EdgeSegment>EdgeSegment. getIdClass()All edges use the EDGE_SEGMENT_ID_CLASS to generate the unique internal ids -
Uses of EdgeSegment in org.goplanit.utils.graph.directed
Classes in org.goplanit.utils.graph.directed with type parameters of type EdgeSegment Modifier and Type Interface Description interfaceDirectedGraph<V extends DirectedVertex,E extends DirectedEdge,ES extends EdgeSegment>Interface for a directed graph with explicit container types rather than the base containers.Methods in org.goplanit.utils.graph.directed that return EdgeSegment Modifier and Type Method Description EdgeSegmentEdgeSegmentFactory. create(DirectedEdge parentEdge, boolean directionAB)Create edge segmentdefault EdgeSegmentDirectedEdge. getEdgeSegment(boolean directionAb)Edge segment in the direction indicateddefault EdgeSegmentDirectedVertex. getEdgeSegment(DirectedVertex otherVertex)collect the first edge segment corresponding to the provided other vertexEdgeSegmentDirectedEdge. getEdgeSegmentAb()Edge segment in the direction from A to BEdgeSegmentDirectedEdge. getEdgeSegmentBa()Edge segment in the direction from B to AEdgeSegmentDirectedEdge. registerEdgeSegment(EdgeSegment edgeSegment, boolean directionAB)Register EdgeSegment.EdgeSegmentEdgeSegmentFactory. registerNew(DirectedEdge parentEdge, boolean directionAb, boolean registerOnVertexAndEdge)Create directional edge segment and register itMethods in org.goplanit.utils.graph.directed that return types with arguments of type EdgeSegment Modifier and Type Method Description default Collection<? extends EdgeSegment>DirectedEdge. getEdgeSegments()collect all edge segments available on the edgeSet<EdgeSegment>DirectedVertex. getEntryEdgeSegments()Collect the entry edge segments of this vertex (unmodifiable)Set<EdgeSegment>DirectedVertex. getExitEdgeSegments()Collect the exit edge segments of this vertex (unmodifiable)Methods in org.goplanit.utils.graph.directed with parameters of type EdgeSegment Modifier and Type Method Description voidDirectedSubGraph. addEdgeSegment(EdgeSegment edgeSegment)Register an edge segment on the subgraphbooleanDirectedVertex. addEdgeSegment(EdgeSegment edgeSegment)Add edgeSegment, do not invoke when parsing networks, this connection is auto-populated before the assignment starts based on the edge segment vertices that have been registered.booleanDirectedSubGraph. containsEdgeSegment(EdgeSegment edgeSegment)Verify if given edge segment is registered on this subgraphvoidEdgeSegments. register(DirectedEdge parentEdge, EdgeSegment edgeSegment, boolean directionAB)Register a edge segment (not registered on nodes and edge)EdgeSegmentDirectedEdge. registerEdgeSegment(EdgeSegment edgeSegment, boolean directionAB)Register EdgeSegment.voidDirectedSubGraph. removeEdgeSegment(EdgeSegment edgeSegment)Remove an edge segment on the subgraphdefault booleanDirectedVertex. removeEdgeSegment(EdgeSegment edgeSegment)Remove edgeSegment on either entry or exit side of vertexbooleanDirectedVertex. removeEntryEdgeSegment(EdgeSegment edgeSegment)Remove entry edgeSegmentbooleanDirectedVertex. removeExitEdgeSegment(EdgeSegment edgeSegment)Remove exit edgeSegmentvoidDirectedEdge. replace(EdgeSegment edgeSegmentToReplace, EdgeSegment edgeSegmentToReplaceWith)replace passed in edge segment (if present) with the passed in onedefault booleanDirectedVertex. replace(EdgeSegment edgeSegmentToReplace, EdgeSegment edgeSegmentToReplaceWith, boolean forceInsert)replace edge segmentdefault booleanDirectedVertex. replaceEntrySegment(EdgeSegment edgeSegmentToReplace, EdgeSegment edgeSegmentToReplaceWith, boolean forceInsert)Identical to replace, only now we consider solely the exist segments for the replacing (in case the to replace segment could be an entry segment that we must keep)default booleanDirectedVertex. replaceExitSegment(EdgeSegment edgeSegmentToReplace, EdgeSegment edgeSegmentToReplaceWith, boolean forceInsert)Identical to replace, only now we consider solely the exist segments for the replacing (in case the to replace segment could be an entry segment that we must keep) -
Uses of EdgeSegment in org.goplanit.utils.graph.modifier
Methods in org.goplanit.utils.graph.modifier with parameters of type EdgeSegment Modifier and Type Method Description voidRemoveDirectedSubGraphListener. onRemoveSubGraphEdgeSegment(EdgeSegment edgeSegment)callback whenever an edge segment is removed from a subgraph it is part of -
Uses of EdgeSegment in org.goplanit.utils.network.layer
Classes in org.goplanit.utils.network.layer with type parameters of type EdgeSegment Modifier and Type Interface Description interfaceUntypedDirectedGraphLayer<V extends DirectedVertex,E extends DirectedEdge,S extends EdgeSegment>Network layer comprising of containers with custom entity types. -
Uses of EdgeSegment in org.goplanit.utils.network.layer.macroscopic
Subinterfaces of EdgeSegment in org.goplanit.utils.network.layer.macroscopic Modifier and Type Interface Description interfaceMacroscopicLinkSegmentMacroscopic traffic modeling oriented link segment. -
Uses of EdgeSegment in org.goplanit.utils.network.layer.modifier
Classes in org.goplanit.utils.network.layer.modifier with type parameters of type EdgeSegment Modifier and Type Interface Description interfaceUntypedDirectedGraphLayerModifier<V extends DirectedVertex,E extends DirectedEdge,S extends EdgeSegment>Modifier with additional functionality related to modifications to layers derived fromUntypedDirectedGraphLayer. -
Uses of EdgeSegment in org.goplanit.utils.network.layer.physical
Subinterfaces of EdgeSegment in org.goplanit.utils.network.layer.physical Modifier and Type Interface Description interfaceLinkSegmentInterface for link segments (directional) part of link (non-directional).Methods in org.goplanit.utils.network.layer.physical with type parameters of type EdgeSegment Modifier and Type Method Description default <LS extends EdgeSegment>
Set<LS>Node. getEntryLinkSegments()It is expected that nodes are used in conjunction with link segments.default <LS extends EdgeSegment>
Set<LS>Node. getExitLinkSegments()It is expected that nodes are used in conjunction with link segments.default <LS extends EdgeSegment>
LSNode. getFirstEntryLinkSegment()Collect the first available entry link segment using the iterator internally.default <LS extends EdgeSegment>
LSNode. getFirstExitLinkSegment()Collect the first available exit link segment using the iterator internally.default <LS extends EdgeSegment>
LSNode. getLinkSegment(Node endNode)collect the first edge segment corresponding to the provided end node -
Uses of EdgeSegment in org.goplanit.utils.network.layer.service
Subinterfaces of EdgeSegment in org.goplanit.utils.network.layer.service Modifier and Type Interface Description interfaceServiceLegSegmentInterface for directed ServiceLegSegment part of non-directional ServiceLeg.Methods in org.goplanit.utils.network.layer.service that return types with arguments of type EdgeSegment Modifier and Type Method Description default Set<EdgeSegment>ServiceNode. getEntryLegSegments()Identical toDirectedVertex.getEntryEdgeSegments()default Set<EdgeSegment>ServiceNode. getExitLegSegments()Identical toDirectedVertex.getExitEdgeSegments() -
Uses of EdgeSegment in org.goplanit.utils.network.virtual
Subinterfaces of EdgeSegment in org.goplanit.utils.network.virtual Modifier and Type Interface Description interfaceConnectoidSegmentConnectoid segment represents a directional virtual segment connecting a centroid and a physical node. -
Uses of EdgeSegment in org.goplanit.utils.path
Method parameters in org.goplanit.utils.path with type arguments of type EdgeSegment Modifier and Type Method Description booleanDirectedPath. containsSubPath(Collection<? extends EdgeSegment> subPath)Verify if the path contains the provided subpath.DirectedPathDirectedPathFactory. createNew(Deque<? extends EdgeSegment> edgeSegments)Create new pathstatic StringPathUtils. getEdgeSegmentPathString(DirectedPath path, Function<EdgeSegment,Object> idGetter)Returns the path as a String of comma-separated edge segment Id or external Id valuesDirectedPathContainerisedDirectedPathFactory. registerNew(Deque<? extends EdgeSegment> edgeSegments)Create new path based on the provided edge segments -
Uses of EdgeSegment in org.goplanit.utils.zoning
Methods in org.goplanit.utils.zoning with parameters of type EdgeSegment Modifier and Type Method Description voidDirectedConnectoid. replaceAccessLinkSegment(EdgeSegment exitEdgeSegment)Replace the access link segment for this connectoid -
Uses of EdgeSegment in org.goplanit.zoning
Methods in org.goplanit.zoning with parameters of type EdgeSegment Modifier and Type Method Description voidDirectedConnectoidImpl. replaceAccessLinkSegment(EdgeSegment exitEdgeSegment)Replace the access link segment for this connectoid -
Uses of EdgeSegment in org.goplanit.zoning.modifier.event.handler
Methods in org.goplanit.zoning.modifier.event.handler with parameters of type EdgeSegment Modifier and Type Method Description protected voidUpdateDirectedConnectoidsOnBreakLinkSegmentHandler. updateConnectedAccessLinkSegment(DirectedVertex vertex, EdgeSegment brokenEdgeSegment)perform the actual update of the connectoids based on the broken edge segment
-