Package graphs
-
Interface Summary Interface Description AStarGraph<V> Directed, edge-weighted graph with a heuristic function to estimate distances between vertices.Graph<V> Directed, edge-weighted graph.ShortestPathSolver<V> Single-source shortest paths from a start defined inConstructor#run(Graph, V)
to all reachable vertices.ShortestPathSolver.Constructor<V> Constructor forShortestPathSolver
. -
Class Summary Class Description AStarSolver<V> A* search implementation for single-pair shortest paths in anAStarGraph
.DijkstraSolver<V> Dijkstra's algorithm implementation of theShortestPathSolver
interface.Edge<V> Weighted, directed edge.ToposortDAGSolver<V> Topological sorting implementation of theShortestPathSolver
interface for directed acyclic graphs.