Class BaseBidirectionalShortestPathAlgorithm.BaseSearchFrontier<V,E>
java.lang.Object
org.jgrapht.alg.shortestpath.BaseBidirectionalShortestPathAlgorithm.BaseSearchFrontier<V,E>
- Type Parameters:
V- vertices typeE- edges type
- Direct Known Subclasses:
BidirectionalAStarShortestPath.AStarSearchFrontier, BidirectionalDijkstraShortestPath.DijkstraSearchFrontier
- Enclosing class:
BaseBidirectionalShortestPathAlgorithm<V,E>
Base class of the search frontier used by bidirectional shortest path algorithms.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract doublegetDistance(V v) Returns distance to vertexvcomputed so far.(package private) abstract EgetTreeEdge(V v) Returns edge which connectsvto its predecessor in the shortest paths tree of this frontier.
-
Field Details
-
graph
-
-
Constructor Details
-
BaseSearchFrontier
-
-
Method Details
-
getDistance
Returns distance to vertexvcomputed so far.- Parameters:
v- vertex- Returns:
- distance to
v
-
getTreeEdge
-