Imports
Chapter 23 — All-Pairs Shortest Paths
This is the canonical CLRS fourth-edition chapter guide during the migration period.
Current source
Sections 23.1--23.3 are native fourth-edition sections (shortest paths and
matrix multiplication, the Floyd–Warshall algorithm, and Johnson's algorithm
for sparse graphs), imported directly from
Section 23.1,
Section 23.2,
and
Section 23.3.
The sections extend the fourth-edition weighted-graph model (Section 22.1).
Declarations retain the legacy CLRS.Chapter24.WeightedGraph namespace
during the compatibility period; the third-edition-numbered imports
CLRSLean.Chapter_25 and CLRSLean.Chapter_25.Section_25_*
forward to these sources.
Coverage boundary
The native sections supply the represented fourth-edition all-pairs
shortest-path sections (Lemmas 23.1--23.2 and 23.7, Theorems 23.3, 23.5 and
23.8), together with the running-time layer bound to the real executable
constructions: repeated squaring O(V³ log V)
(CLRS.Chapter24.WeightedGraph.fasterAPSPCost_le_n_cubed_log),
Floyd--Warshall O(V³)
(CLRS.Chapter24.WeightedGraph.floydWarshall_O_cubed), and Johnson
O(V² log V + V E log V)
(CLRS.Chapter24.WeightedGraph.johnsonCost_eq).
See docs/clrs-fourth-edition-map.csv for the section-level mapping and
docs/migrations/clrs4.md for compatibility and deprecation policy.