Uses of Interface
com.graphhopper.util.EdgeIteratorState
Packages that use EdgeIteratorState
Package
Description
-
Uses of EdgeIteratorState in com.graphhopper.reader.dem
Methods in com.graphhopper.reader.dem with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionvoid
EdgeElevationInterpolator.gatherOuterAndInnerNodeIds
(EdgeExplorer edgeExplorer, EdgeIteratorState interpolatableEdge, GHBitSet visitedEdgesIds, com.carrotsearch.hppc.IntSet outerNodeIds, GHIntHashSet innerNodeIds) protected boolean
EdgeElevationInterpolator.isInterpolatableEdge
(EdgeIteratorState edge) -
Uses of EdgeIteratorState in com.graphhopper.routing
Methods in com.graphhopper.routing that return EdgeIteratorStateMethods in com.graphhopper.routing that return types with arguments of type EdgeIteratorStateMethods in com.graphhopper.routing with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionprotected boolean
AbstractNonCHBidirAlgo.accept
(EdgeIteratorState iter, int prevOrNextEdgeId) protected boolean
AbstractRoutingAlgorithm.accept
(EdgeIteratorState iter, int prevOrNextEdgeId) protected double
AbstractNonCHBidirAlgo.calcWeight
(EdgeIteratorState iter, SPTEntry currEdge, boolean reverse) protected double
AStarBidirection.calcWeight
(EdgeIteratorState iter, SPTEntry currEdge, boolean reverse) protected abstract SPTEntry
AbstractNonCHBidirAlgo.createEntry
(EdgeIteratorState edge, double weight, SPTEntry parent, boolean reverse) Creates a new entry of the shortest path tree (aSPTEntry
or one of its subclasses) during a dijkstra expansion.protected SPTEntry
AStarBidirection.createEntry
(EdgeIteratorState edge, double weight, SPTEntry parent, boolean reverse) protected SPTEntry
DijkstraBidirectionRef.createEntry
(EdgeIteratorState edge, double weight, SPTEntry parent, boolean reverse) void
InstructionsFromEdges.next
(EdgeIteratorState edge, int index, int prevEdgeId) void
Path.EdgeVisitor.next
(EdgeIteratorState edge, int index, int prevEdgeId) protected void
AStar.updateBestPath
(EdgeIteratorState edgeState, SPTEntry bestSPTEntry, int traversalId) protected void
Dijkstra.updateBestPath
(EdgeIteratorState edgeState, SPTEntry bestSPTEntry, int traversalId) -
Uses of EdgeIteratorState in com.graphhopper.routing.ch
Methods in com.graphhopper.routing.ch with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionvoid
ShortcutUnpacker.Visitor.visit
(EdgeIteratorState edge, boolean reverse, int prevOrNextEdgeId) -
Uses of EdgeIteratorState in com.graphhopper.routing.querygraph
Classes in com.graphhopper.routing.querygraph that implement EdgeIteratorStateModifier and TypeClassDescriptionclass
Creates an edge state decoupled from a graph where nodes, pointList, etc are kept in memory.Methods in com.graphhopper.routing.querygraph that return EdgeIteratorStateModifier and TypeMethodDescriptionVirtualEdgeIteratorState.copyPropertiesFrom
(EdgeIteratorState fromEdge) VirtualEdgeIteratorState.detach
(boolean reverse) QueryGraph.edge
(int a, int b) QueryGraph.getEdgeIteratorState
(int origEdgeId, int adjNode) QueryGraph.getEdgeIteratorStateForKey
(int edgeKey) VirtualEdgeIteratorState.set
(BooleanEncodedValue property, boolean value) VirtualEdgeIteratorState.set
(BooleanEncodedValue property, boolean fwd, boolean bwd) VirtualEdgeIteratorState.set
(DecimalEncodedValue property, double value) VirtualEdgeIteratorState.set
(DecimalEncodedValue property, double fwd, double bwd) <T extends Enum<?>>
EdgeIteratorStateVirtualEdgeIteratorState.set
(EnumEncodedValue<T> property, T value) <T extends Enum<?>>
EdgeIteratorStateVirtualEdgeIteratorState.set
(EnumEncodedValue<T> property, T fwd, T bwd) VirtualEdgeIteratorState.set
(IntEncodedValue property, int value) VirtualEdgeIteratorState.set
(IntEncodedValue property, int fwd, int bwd) VirtualEdgeIteratorState.set
(StringEncodedValue property, String value) VirtualEdgeIteratorState.set
(StringEncodedValue property, String fwd, String bwd) VirtualEdgeIteratorState.setDistance
(double dist) VirtualEdgeIteratorState.setKeyValues
(Map<String, KVStorage.KValue> list) VirtualEdgeIteratorState.setReverse
(BooleanEncodedValue property, boolean value) VirtualEdgeIteratorState.setReverse
(DecimalEncodedValue property, double value) <T extends Enum<?>>
EdgeIteratorStateVirtualEdgeIteratorState.setReverse
(EnumEncodedValue<T> property, T value) VirtualEdgeIteratorState.setReverse
(IntEncodedValue property, int value) VirtualEdgeIteratorState.setReverse
(StringEncodedValue property, String value) VirtualEdgeIteratorState.setWayGeometry
(PointList list) Methods in com.graphhopper.routing.querygraph that return types with arguments of type EdgeIteratorStateModifier and TypeMethodDescriptionQueryGraph.getUnfavoredVirtualEdges()
Returns all virtual edges that have been unfavored viaQueryGraph.unfavorVirtualEdge(int)
orQueryGraph.unfavorVirtualEdges(IntArrayList)
Methods in com.graphhopper.routing.querygraph with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionVirtualEdgeIteratorState.copyPropertiesFrom
(EdgeIteratorState fromEdge) void
VirtualEdgeIteratorState.setReverseEdge
(EdgeIteratorState reverseEdge) -
Uses of EdgeIteratorState in com.graphhopper.routing.subnetwork
Methods in com.graphhopper.routing.subnetwork with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionboolean
EdgeBasedTarjanSCC.EdgeTransitionFilter.accept
(int prevEdge, EdgeIteratorState edgeState) static int
EdgeBasedTarjanSCC.createEdgeKey
(EdgeIteratorState edgeState, boolean reverse) -
Uses of EdgeIteratorState in com.graphhopper.routing.util
Subinterfaces of EdgeIteratorState in com.graphhopper.routing.utilMethods in com.graphhopper.routing.util with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionfinal boolean
AccessFilter.accept
(EdgeIteratorState iter) boolean
DefaultSnapFilter.accept
(EdgeIteratorState edgeState) boolean
DirectedEdgeFilter.accept
(EdgeIteratorState edgeState, boolean reverse) boolean
EdgeFilter.accept
(EdgeIteratorState edgeState) final boolean
FiniteWeightFilter.accept
(EdgeIteratorState edgeState) boolean
HeadingEdgeFilter.accept
(EdgeIteratorState edgeState) final boolean
NameSimilarityEdgeFilter.accept
(EdgeIteratorState iter) boolean
SnapPreventionEdgeFilter.accept
(EdgeIteratorState edgeState) double
RoadDensityCalculator.calcRoadDensity
(EdgeIteratorState edge, double radius, ToDoubleFunction<EdgeIteratorState> calcRoadFactor) final int
TraversalMode.createTraversalId
(EdgeIteratorState edgeState, boolean reverse) Returns the identifier to access the map of the shortest path tree according to the traversal mode.Method parameters in com.graphhopper.routing.util with type arguments of type EdgeIteratorStateModifier and TypeMethodDescriptionstatic void
RoadDensityCalculator.calcRoadDensities
(Graph graph, BiConsumer<RoadDensityCalculator, EdgeIteratorState> edgeHandler, int threads) Loops over all edges of the graph and calls the given edgeHandler for each edge.double
RoadDensityCalculator.calcRoadDensity
(EdgeIteratorState edge, double radius, ToDoubleFunction<EdgeIteratorState> calcRoadFactor) void
MaxSpeedCalculator.fillMaxSpeed
(Graph graph, EncodingManager em, Function<EdgeIteratorState, Boolean> isUrbanDensityFun) -
Uses of EdgeIteratorState in com.graphhopper.routing.weighting
Methods in com.graphhopper.routing.weighting with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionlong
AbstractAdjustedWeighting.calcEdgeMillis
(EdgeIteratorState edgeState, boolean reverse) long
QueryGraphWeighting.calcEdgeMillis
(EdgeIteratorState edgeState, boolean reverse) long
SpeedWeighting.calcEdgeMillis
(EdgeIteratorState edgeState, boolean reverse) long
Weighting.calcEdgeMillis
(EdgeIteratorState edgeState, boolean reverse) This method calculates the time taken (in milliseconds) to travel along the specified edgeState.double
AbstractAdjustedWeighting.calcEdgeWeight
(EdgeIteratorState edgeState, boolean reverse) double
AvoidEdgesWeighting.calcEdgeWeight
(EdgeIteratorState edgeState, boolean reverse) double
QueryGraphWeighting.calcEdgeWeight
(EdgeIteratorState edgeState, boolean reverse) double
SpeedWeighting.calcEdgeWeight
(EdgeIteratorState edgeState, boolean reverse) double
Weighting.calcEdgeWeight
(EdgeIteratorState edgeState, boolean reverse) This method calculates the weight of a givenEdgeIteratorState
. -
Uses of EdgeIteratorState in com.graphhopper.routing.weighting.custom
Methods in com.graphhopper.routing.weighting.custom with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionlong
CustomWeighting.calcEdgeMillis
(EdgeIteratorState edgeState, boolean reverse) long
CustomWeighting2.calcEdgeMillis
(EdgeIteratorState edgeState, boolean reverse) double
CustomWeighting.calcEdgeWeight
(EdgeIteratorState edgeState, boolean reverse) double
CustomWeighting2.calcEdgeWeight
(EdgeIteratorState edgeState, boolean reverse) double
CustomWeighting.EdgeToDoubleMapping.get
(EdgeIteratorState edge, boolean reverse) double
CustomWeightingHelper.getPriority
(EdgeIteratorState edge, boolean reverse) protected final double
CustomWeightingHelper.getRawPriority
(EdgeIteratorState edge, boolean reverse) protected final double
CustomWeightingHelper.getRawSpeed
(EdgeIteratorState edge, boolean reverse) double
CustomWeightingHelper.getSpeed
(EdgeIteratorState edge, boolean reverse) static boolean
CustomWeightingHelper.in
(Polygon p, EdgeIteratorState edge) -
Uses of EdgeIteratorState in com.graphhopper.storage
Classes in com.graphhopper.storage that implement EdgeIteratorStateModifier and TypeClassDescriptionprotected static class
Include all edges of this storage in the iterator.protected static class
Methods in com.graphhopper.storage that return EdgeIteratorStateModifier and TypeMethodDescriptionBaseGraph.copyEdge
(int edge, boolean reuseGeometry) Creates a copy of a given edge with the same properties.final EdgeIteratorState
BaseGraph.AllEdgeIterator.detach
(boolean reverseArg) BaseGraph.EdgeIteratorImpl.detach
(boolean reverseArg) BaseGraph.edge
(int nodeA, int nodeB) Create edge between nodes a and bGraph.edge
(int a, int b) Creates an edge between the nodes a and b.BaseGraph.getEdgeIteratorState
(int edgeId, int adjNode) Graph.getEdgeIteratorState
(int edgeId, int adjNode) Returns a wrapper over the specified edgeId.BaseGraph.getEdgeIteratorStateForKey
(int edgeKey) Graph.getEdgeIteratorStateForKey
(int edgeKey) Returns the edge state for the given edge keyMethods in com.graphhopper.storage with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionvoid
BaseGraph.forEdgeAndCopiesOfEdge
(EdgeExplorer explorer, EdgeIteratorState edge, Consumer<EdgeIteratorState> consumer) Runs the given action on the given edge and all its copies that were created with 'reuseGeometry=true'.Method parameters in com.graphhopper.storage with type arguments of type EdgeIteratorStateModifier and TypeMethodDescriptionvoid
BaseGraph.forEdgeAndCopiesOfEdge
(EdgeExplorer explorer, EdgeIteratorState edge, Consumer<EdgeIteratorState> consumer) Runs the given action on the given edge and all its copies that were created with 'reuseGeometry=true'. -
Uses of EdgeIteratorState in com.graphhopper.storage.index
Methods in com.graphhopper.storage.index that return EdgeIteratorStateMethods in com.graphhopper.storage.index with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionvoid
Snap.setClosestEdge
(EdgeIteratorState edge) void
LocationIndexTree.traverseEdge
(double queryLat, double queryLon, EdgeIteratorState currEdge, LocationIndexTree.EdgeCheck edgeCheck) -
Uses of EdgeIteratorState in com.graphhopper.util
Subinterfaces of EdgeIteratorState in com.graphhopper.utilModifier and TypeInterfaceDescriptioninterface
Iterates through all edges of one node.Methods in com.graphhopper.util that return EdgeIteratorStateModifier and TypeMethodDescriptionEdgeIteratorState.copyPropertiesFrom
(EdgeIteratorState e) Copies the properties of the specified edge into this edge.EdgeIteratorState.detach
(boolean reverse) Clones this EdgeIteratorState.static EdgeIteratorState
EdgeIteratorState.set
(BooleanEncodedValue property, boolean value) EdgeIteratorState.set
(BooleanEncodedValue property, boolean fwd, boolean bwd) EdgeIteratorState.set
(DecimalEncodedValue property, double value) EdgeIteratorState.set
(DecimalEncodedValue property, double fwd, double bwd) <T extends Enum<?>>
EdgeIteratorStateEdgeIteratorState.set
(EnumEncodedValue<T> property, T value) <T extends Enum<?>>
EdgeIteratorStateEdgeIteratorState.set
(EnumEncodedValue<T> property, T fwd, T bwd) EdgeIteratorState.set
(IntEncodedValue property, int value) EdgeIteratorState.set
(IntEncodedValue property, int fwd, int bwd) EdgeIteratorState.set
(StringEncodedValue property, String value) EdgeIteratorState.set
(StringEncodedValue property, String fwd, String bwd) EdgeIteratorState.setDistance
(double dist) Stores the specified edgeFlags down to the DataAccessEdgeIteratorState.setKeyValues
(Map<String, KVStorage.KValue> map) This stores the specified key-value pairs in the storage of this EdgeIteratorState.EdgeIteratorState.setReverse
(BooleanEncodedValue property, boolean value) EdgeIteratorState.setReverse
(DecimalEncodedValue property, double value) <T extends Enum<?>>
EdgeIteratorStateEdgeIteratorState.setReverse
(EnumEncodedValue<T> property, T value) EdgeIteratorState.setReverse
(IntEncodedValue property, int value) EdgeIteratorState.setReverse
(StringEncodedValue property, String value) static EdgeIteratorState
GHUtility.setSpeed
(double averageSpeed, boolean fwd, boolean bwd, BooleanEncodedValue accessEnc, DecimalEncodedValue avSpeedEnc, EdgeIteratorState edge) EdgeIteratorState.setWayGeometry
(PointList list) Methods in com.graphhopper.util with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionstatic long
GHUtility.calcMillisWithTurnMillis
(Weighting weighting, EdgeIteratorState edgeState, boolean reverse, int prevOrNextEdgeId) static double
GHUtility.calcWeightWithTurnWeight
(Weighting weighting, EdgeIteratorState edgeState, boolean reverse, int prevOrNextEdgeId) Calculates the weight of a given edge likeWeighting.calcEdgeWeight(com.graphhopper.util.EdgeIteratorState, boolean)
and adds the transition cost (the turn weight,Weighting.calcTurnWeight(int, int, int)
) associated with transitioning from/to the edge with ID prevOrNextEdgeId.protected boolean
XFirstSearch.checkAdjacent
(EdgeIteratorState edge) EdgeIteratorState.copyPropertiesFrom
(EdgeIteratorState e) Copies the properties of the specified edge into this edge.static BBox
GHUtility.createBBox
(EdgeIteratorState edgeState) static EdgeIteratorState
GHUtility.setSpeed
(double averageSpeed, boolean fwd, boolean bwd, BooleanEncodedValue accessEnc, DecimalEncodedValue avSpeedEnc, EdgeIteratorState edge) static void
GHUtility.setSpeed
(double fwdSpeed, double bwdSpeed, BooleanEncodedValue accessEnc, DecimalEncodedValue speedEnc, EdgeIteratorState... edges) Method parameters in com.graphhopper.util with type arguments of type EdgeIteratorStateModifier and TypeMethodDescriptionstatic void
GHUtility.setSpeed
(double fwdSpeed, double bwdSpeed, BooleanEncodedValue accessEnc, DecimalEncodedValue speedEnc, Collection<EdgeIteratorState> edges) -
Uses of EdgeIteratorState in com.graphhopper.util.details
Methods in com.graphhopper.util.details with parameters of type EdgeIteratorStateModifier and TypeMethodDescriptionboolean
AverageSpeedDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
BooleanDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
ConstantDetailsBuilder.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
DecimalDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
DistanceDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
EdgeIdDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
EdgeKeyDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
EnumDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
IntDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
IntersectionDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
KVStringDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
PathDetailsBuilder.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
StringDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
TimeDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) boolean
WeightDetails.isEdgeDifferentToLastEdge
(EdgeIteratorState edge) void
PathDetailsFromEdges.next
(EdgeIteratorState edge, int index, int prevEdgeId)