Defined in File APSP.hpp
public NetworKit::Algorithm
(Class Algorithm)
public NetworKit::DynAPSP
(Class DynAPSP)
Class for all-pair shortest path algorithm.
Subclassed by NetworKit::DynAPSP
Public Functions
Computes the shortest paths from each node to all other nodes. The algorithm is parallel.
Returns a vector of weighted distances between node pairs.
The shortest-path distances from each node to any other node in the graph.
Returns the distance from u to v or infinity if u and v are not connected.