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. incomingEdgeSegment
the preceding vertex to reach the vertex with the given measured costMethods in org.goplanit.algorithms.shortestpath that return EdgeSegment Modifier and Type Method Description EdgeSegment
MinMaxPathResultImpl. getIncomingEdgeSegmentForVertex(Vertex vertex)
Find the incoming edge segment for a given vertexEdgeSegment
ShortestPathResult. getIncomingEdgeSegmentForVertex(Vertex vertex)
Find the incoming edge segment for a given vertexEdgeSegment
ShortestPathResultImpl. 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 int
ShortestPathResult. 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 PASEdgeSegment
Pas. getFirstEdgeSegment(boolean lowCostSegment)
Collect the first edge segment of one of the two segmentsEdgeSegment
Pas. getLastEdgeSegment(boolean lowCostSegment)
Collect the last edge segment of one of the two segmentsEdgeSegment
Pas. 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 void
Bush. addTurnSendingFlow(EdgeSegment fromEdgeSegment, EdgeSegment toEdgeSegment, double turnSendingflowPcuH)
Add turn sending flow to the bush.void
BushTurnData. addTurnSendingFlow(EdgeSegment fromSegment, EdgeSegment toSegment, double turnSendingFlow)
Add turn sending flow for a given turndouble
Bush. 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.double
Bush. 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.boolean
Bush. containsEdgeSegment(EdgeSegment edgeSegment)
Verify if the bush contains the given edge segmentboolean
Bush. containsTurnSendingFlow(EdgeSegment entrySegment, EdgeSegment exitSegment)
Verify if the provided turn has any registered sending flowboolean
BushTurnData. containsTurnSendingFlow(EdgeSegment fromSegment, EdgeSegment toSegment)
Check if entry existsprotected static Pas
Pas. create(EdgeSegment[] s1, EdgeSegment[] s2)
Create a new PAS (factory method)Pas
PasManager. 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 itdouble
Bush. getSendingFlowPcuH(EdgeSegment edgeSegment)
Collect the sending flow of an edge segment in the bush, if not present, zero flow is returneddouble
Bush. getSplittingRate(EdgeSegment entrySegment, EdgeSegment exitSegment)
Collect the bush splitting rate on the given turndouble
BushTurnData. 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.double
BushTurnData. getTotalSendingFlowPcuH(EdgeSegment fromSegment)
Total sending flows s_a from given segmentdouble
Bush. getTurnSendingFlow(EdgeSegment fromEdgeSegment, EdgeSegment toEdgeSegment)
Collect bush turn sending flow (if any)double
BushTurnData. getTurnSendingFlowPcuH(EdgeSegment fromSegment, EdgeSegment toSegment)
Get the turn sending flow for a given turnvoid
Bush. removeTurn(EdgeSegment fromEdgeSegment, EdgeSegment toEdgeSegment)
Remove a turn from the bush by removing it from the acyclic graph and removing any data associated with itvoid
BushTurnData. removeTurn(EdgeSegment fromEdgeSegment, EdgeSegment toEdgeSegment)
Remove the turnvoid
BushTurnData. 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 double
Bush. 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 vertexvoid
Pas. forEachEdgeSegment(boolean lowCostSegment, Consumer<EdgeSegment> edgeSegmentConsumer)
Apply consumer to each edgeSegment on one of the cost segmentsEdgeSegment
Pas. 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 void
InitialiseBushEdgeSegmentDemandConsumer. accept(EdgeSegment edgeSegment)
protected void
BushFlowUpdateConsumer. applyAcceptedTurnFlowUpdate(int prevSegmentId, EdgeSegment currentSegment, double turnAcceptedFlow)
Register the bush accepted turn flow to the turn if required.protected void
BushTurnFlowUpdateConsumer. applyAcceptedTurnFlowUpdate(int prevSegmentId, EdgeSegment currentSegment, double turnAcceptedFlowPcuH)
track the turn accepted flows when they are classified as being tracked, otherwise do nothingprotected abstract void
PathFlowUpdateConsumer. 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 void
PathLinkSendingFlowUpdateConsumer. 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 void
PathTurnFlowUpdateConsumer. 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 double
PathFlowUpdateConsumer. applySingleFlowUpdate(int prevSegmentId, EdgeSegment currentSegment, double turnSendingFlowPcuH)
Apply the flow to the turn (and update link sending flow if required)protected double
PathLinkSendingFlowUpdateConsumer. applySingleFlowUpdate(int prevSegmentId, EdgeSegment currentSegment, double turnSendingFlowPcuH)
For each entry segment update the in(sending)flowprotected double
PathTurnFlowUpdateConsumer. 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 double
StaticLtmLoadingBush. 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 double
SplittingRateData. 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 interface
Cost<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 class
DirectedGraphImpl<V extends DirectedVertex,E extends DirectedEdge,ES extends EdgeSegment>
A directed graph implementation consisting of directed vertices, directed edges and edge segmentsclass
UntypedDirectedGraphImpl<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 class
EdgeSegmentImpl
EdgeSegment 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. entryEdgeSegments
Entry edge segments which connect to this vertexprotected Set<EdgeSegment>
DirectedVertexImpl. exitEdgeSegments
Exit edge segments which connect to this vertexMethods in org.goplanit.graph.directed that return EdgeSegment Modifier and Type Method Description EdgeSegment
EdgeSegmentFactoryImpl. create(DirectedEdge parentEdge, boolean directionAB)
Create edge segmentEdgeSegment
DirectedEdgeImpl. getEdgeSegmentAb()
Edge segment in the direction from A to BEdgeSegment
DirectedEdgeImpl. getEdgeSegmentBa()
Edge segment in the direction from B to AEdgeSegment
DirectedEdgeImpl. registerEdgeSegment(EdgeSegment edgeSegment, boolean directionAB)
Register EdgeSegment.EdgeSegment
EdgeSegmentFactoryImpl. 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 boolean
DirectedVertexImpl. 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.void
EdgeSegmentsImpl. register(DirectedEdge parentEdge, EdgeSegment edgeSegment, boolean directionAB)
Register a edge segment (not registered on nodes and edge)EdgeSegment
DirectedEdgeImpl. registerEdgeSegment(EdgeSegment edgeSegment, boolean directionAB)
Register EdgeSegment.boolean
DirectedVertexImpl. removeEdgeSegment(EdgeSegment edgeSegment)
Remove edgeSegment on either entry or exit side of vertexboolean
DirectedVertexImpl. removeEntryEdgeSegment(EdgeSegment edgeSegment)
Remove entry edgeSegmentboolean
DirectedVertexImpl. removeExitEdgeSegment(EdgeSegment edgeSegment)
Remove exit edgeSegmentvoid
DirectedEdgeImpl. replace(EdgeSegment edgeSegmentToReplace, EdgeSegment edgeSegmentToReplaceWith)
replace passed in edge segment (if present) with the passed in oneprotected void
DirectedEdgeImpl. setEdgeSegmentAb(EdgeSegment edgeSegmentAb)
set edge segment from A to Bprotected void
DirectedEdgeImpl. 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 void
ACyclicSubGraphImpl. addEdgeSegment(EdgeSegment edgeSegment)
Register an edge segment on the subgraphboolean
ACyclicSubGraphImpl. containsEdgeSegment(EdgeSegment edgeSegment)
Verify if given edge segment is registered on this subgraphvoid
ACyclicSubGraphImpl. 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 EdgeSegment
BreakEdgeSegmentEvent. getNewlyBrokenEdgeSegment()
Collect broken edge segmentEdgeSegment
RemoveSubGraphEdgeSegmentEvent. 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 class
UntypedNetworkLayerImpl<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 class
MacroscopicLinkSegmentImpl
Link 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 class
UntypedNetworkLayerModifierImpl<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 class
LinkSegmentImpl
Link 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 class
ServiceLegSegmentImpl
A service leg segment implementation.Methods in org.goplanit.network.layer.service with parameters of type EdgeSegment Modifier and Type Method Description boolean
ServiceNodeImpl. 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 void
TransportModelNetwork. connectVerticesToEdgeSegment(EdgeSegment edgeSegment)
Add edge segment to the incoming or outgoing set of edge segments for the related verticesprotected void
TransportModelNetwork. 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 class
ConnectoidSegmentImpl
The 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 boolean
DirectedPathImpl. containsSubPath(Collection<? extends EdgeSegment> subPath)
Verify if the path contains the provided subpath.DirectedPath
DirectedPathFactoryImpl. createNew(Deque<? extends EdgeSegment> edgeSegments)
Create new pathDirectedPath
ContainerisedDirectedPathFactoryImpl. 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 interface
UntypedDirectedGraph<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_CLASS
id class for generating idsMethods in org.goplanit.utils.graph that return EdgeSegment Modifier and Type Method Description EdgeSegment
EdgeSegment. 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 interface
DirectedGraph<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 EdgeSegment
EdgeSegmentFactory. create(DirectedEdge parentEdge, boolean directionAB)
Create edge segmentdefault EdgeSegment
DirectedEdge. getEdgeSegment(boolean directionAb)
Edge segment in the direction indicateddefault EdgeSegment
DirectedVertex. getEdgeSegment(DirectedVertex otherVertex)
collect the first edge segment corresponding to the provided other vertexEdgeSegment
DirectedEdge. getEdgeSegmentAb()
Edge segment in the direction from A to BEdgeSegment
DirectedEdge. getEdgeSegmentBa()
Edge segment in the direction from B to AEdgeSegment
DirectedEdge. registerEdgeSegment(EdgeSegment edgeSegment, boolean directionAB)
Register EdgeSegment.EdgeSegment
EdgeSegmentFactory. 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 void
DirectedSubGraph. addEdgeSegment(EdgeSegment edgeSegment)
Register an edge segment on the subgraphboolean
DirectedVertex. 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.boolean
DirectedSubGraph. containsEdgeSegment(EdgeSegment edgeSegment)
Verify if given edge segment is registered on this subgraphvoid
EdgeSegments. register(DirectedEdge parentEdge, EdgeSegment edgeSegment, boolean directionAB)
Register a edge segment (not registered on nodes and edge)EdgeSegment
DirectedEdge. registerEdgeSegment(EdgeSegment edgeSegment, boolean directionAB)
Register EdgeSegment.void
DirectedSubGraph. removeEdgeSegment(EdgeSegment edgeSegment)
Remove an edge segment on the subgraphdefault boolean
DirectedVertex. removeEdgeSegment(EdgeSegment edgeSegment)
Remove edgeSegment on either entry or exit side of vertexboolean
DirectedVertex. removeEntryEdgeSegment(EdgeSegment edgeSegment)
Remove entry edgeSegmentboolean
DirectedVertex. removeExitEdgeSegment(EdgeSegment edgeSegment)
Remove exit edgeSegmentvoid
DirectedEdge. replace(EdgeSegment edgeSegmentToReplace, EdgeSegment edgeSegmentToReplaceWith)
replace passed in edge segment (if present) with the passed in onedefault boolean
DirectedVertex. replace(EdgeSegment edgeSegmentToReplace, EdgeSegment edgeSegmentToReplaceWith, boolean forceInsert)
replace edge segmentdefault boolean
DirectedVertex. 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 boolean
DirectedVertex. 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 void
RemoveDirectedSubGraphListener. 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 interface
UntypedDirectedGraphLayer<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 interface
MacroscopicLinkSegment
Macroscopic 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 interface
UntypedDirectedGraphLayerModifier<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 interface
LinkSegment
Interface 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 interface
ServiceLegSegment
Interface 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 interface
ConnectoidSegment
Connectoid 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 boolean
DirectedPath. containsSubPath(Collection<? extends EdgeSegment> subPath)
Verify if the path contains the provided subpath.DirectedPath
DirectedPathFactory. createNew(Deque<? extends EdgeSegment> edgeSegments)
Create new pathstatic String
PathUtils. getEdgeSegmentPathString(DirectedPath path, Function<EdgeSegment,Object> idGetter)
Returns the path as a String of comma-separated edge segment Id or external Id valuesDirectedPath
ContainerisedDirectedPathFactory. 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 void
DirectedConnectoid. 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 void
DirectedConnectoidImpl. 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 void
UpdateDirectedConnectoidsOnBreakLinkSegmentHandler. updateConnectedAccessLinkSegment(DirectedVertex vertex, EdgeSegment brokenEdgeSegment)
perform the actual update of the connectoids based on the broken edge segment
-