public interface BidirRoutingAlgorithm extends RoutingAlgorithm
Modifier and Type | Method and Description |
---|---|
Path |
calcPath(int from,
int to,
int fromOutEdge,
int toInEdge)
like
RoutingAlgorithm.calcPath(int, int) , but this method also allows to strictly restrict the edge the
path will begin with and the edge it will end with. |
calcPath, calcPaths, getName, getVisitedNodes, setMaxVisitedNodes
Path calcPath(int from, int to, int fromOutEdge, int toInEdge)
RoutingAlgorithm.calcPath(int, int)
, but this method also allows to strictly restrict the edge the
path will begin with and the edge it will end with.fromOutEdge
- the edge id of the first edge of the path. using EdgeIterator.ANY_EDGE
means
not enforcing the first edge of the pathtoInEdge
- the edge id of the last edge of the path. using EdgeIterator.ANY_EDGE
means
not enforcing the last edge of the pathCopyright © 2012–2020. All rights reserved.