Dijkstra, Floyd and Warshall Meet Kleene

Select |


Höfner, Peter; Möller, Bernhard

Höfner, Peter; Möller, Bernhard


Journal Article

Formal Aspects of Computing (FAOC)




Around 1960, Dijkstra, Floyd and Warshall published papers on algorithms for solving single-source and all-sources shortest path problems, respectively. These algorithms, nowadays named after their inventors, are well known and well established. This paper sheds an algebraic light on these algorithms. We combine the shortest path problems with Kleene algebra, also known as Conway's regular algebra. This view yields a purely algebraic version of Dijkstra's shortest path algorithm and the one by Floyd/Warshall. Moreover, the algebraic abstraction yields applications of these algorithms to structures different from graphs and pinpoints the mathematical requirements on the underlying cost algebra that ensure their correctness.



Höfner, Peter; Möller, Bernhard. Dijkstra, Floyd and Warshall Meet Kleene. Formal Aspects of Computing (FAOC). 2012-07-09; 24(4-6):459-476. https://doi.org/10.1007/s00165-012-0245-4

Loading citation data...

Citation counts
(Requires subscription to view)