{ } Raw JSON

bundles / scipy 1.17.1 / scipy / sparse / csgraph / _shortest_path

module

scipy.sparse.csgraph._shortest_path

source: /scipy/sparse/csgraph/_shortest_path.cpython-314-x86_64-linux-gnu.so

Members

Summary

Routines for performing shortest-path graph searches

Extended Summary

The main interface is in the function shortest_path. This calls cython routines that compute the shortest path using the Floyd-Warshall algorithm, Dijkstra's algorithm with priority queue, the Bellman-Ford algorithm, or Johnson's Algorithm.

Yen's k-Shortest Path Algorithm is available for finding the k-shortest paths between two nodes in a graph.

Additional content

Routines for performing shortest-path graph searches

The main interface is in the function shortest_path. This calls cython routines that compute the shortest path using the Floyd-Warshall algorithm, Dijkstra's algorithm with priority queue, the Bellman-Ford algorithm, or Johnson's Algorithm.

Yen's k-Shortest Path Algorithm is available for finding the k-shortest paths between two nodes in a graph.

Aliases

  • scipy.sparse.csgraph._shortest_path