Package com.graphhopper.util
Interface EdgeExplorer
- All Known Implementing Classes:
BaseGraph.EdgeIteratorImpl
public interface EdgeExplorer
Class to get an EdgeIterator. Create it via graph.createEdgeExplorer() use one instance per
thread.
- Author:
- Peter Karich
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionsetBaseNode
(int baseNode) This method sets the base node for iteration through neighboring edges (EdgeIteratorStates).
-
Method Details
-
setBaseNode
This method sets the base node for iteration through neighboring edges (EdgeIteratorStates).- Returns:
- EdgeIterator around the specified baseNode. The resulting iterator can be a new instance or a reused instance returned in a previous call. So be sure you do not use the EdgeExplorer from multiple threads or in a nested loop.
-