Uses of Class
com.google.mu.util.graph.ShortestPath
-
Uses of ShortestPath in com.google.mu.util.graph
Modifier and TypeMethodDescriptionstatic <N> Stream
<ShortestPath<N>> ShortestPath.shortestPathsFrom
(N startNode, Function<? super N, ? extends BiStream<? extends N, Double>> findSuccessors) Returns a lazy stream of shortest paths starting fromstartNode
.static <N> Stream
<ShortestPath<N>> ShortestPath.unweightedShortestPathsFrom
(N startNode, Function<? super N, ? extends Stream<? extends N>> findSuccessors) Returns a lazy stream of unweighted shortest paths starting fromstartNode
.