Edsger W. Dijkstra Created 2026-10-24 Updated 2026-11-05
Edsger W. Dijkstra was a computer scientist whose work includes the Dijkstra algorithm for shortest paths with nonnegative edge weights. Its key step finalizes the unsettled vertex with the smallest tentative distance; nonnegative edge weights ensure that a later route cannot improve that distance.[ref]
The same short paper also treated the minimum spanning tree problem. The distinction is instructive: minimizing the total weight of a connecting tree differs from minimizing routes from a source. Dijkstra later recalled devising the shortest-path example for a 1956 computer demonstration using a simplified Dutch railway map, a concrete explanation of the computational task for a general audience.[ref]
The Dijkstra algorithm finalises vertices in the order . After finalising , tentative distances to are . Finalising sets the distance to to . Finalising sets the distance to to . Finalising improves the distance to to ; its edge to proposes and causes no improvement. The final distance vector in vertex order is . All weights are positive, so every finalisation is justified by the usual label-setting shortest-path algorithm invariant. The method is named for Edsger W. Dijkstra.