This document discusses algorithms for solving the all pairs shortest path problem. It introduces the all pair distance problem for unweighted graphs, which can be solved by multiplying the adjacency matrix. For weighted graphs, it describes the randomized Boolean product witness matrix algorithm, which reduces the all pairs shortest path problem to matrix multiplication. Deterministic algorithms like Floyd-Warshall are also discussed.
Related topics: