public interface SkipTraverseResultStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
shouldSkipTraversalResult(Vertex origin,
Vertex target,
State parent,
State current,
ShortestPathTree spt,
RoutingRequest traverseOptions) |
boolean shouldSkipTraversalResult(Vertex origin, Vertex target, State parent, State current, ShortestPathTree spt, RoutingRequest traverseOptions)
origin
- the origin vertextarget
- the target vertex, may be null in an undirected searchparent
- the parent shortest-path-tree vertextraverseResult
- the current traverse result to consider for skippingspt
- the shortest path treetraverseOptions
- the current traverse optionsremainingWeightEstimate
- the remaining weight estimate from the heuristic (or -1 if no heuristic)Copyright © 2019. All rights reserved.