Dijkstra, Floyd and Warshall meet Kleene

被引:28
作者
Hoefner, Peter [2 ,3 ]
Moeller, Bernhard [1 ]
机构
[1] Univ Augsburg, D-86159 Augsburg, Germany
[2] NICTA, Sydney, NSW, Australia
[3] Univ New S Wales, Sydney, NSW, Australia
关键词
Algebra; Algorithms; Shortest-path; Kleene algebra; Semiring; THEOREM; ALGEBRA;
D O I
10.1007/s00165-012-0245-4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:459 / 476
页数:18
相关论文
共 31 条
[1]  
Aho A. V., 1974, The design and analysis of computer algorithms
[2]  
[Anonymous], 1952, INTRO METAMATHEMATIC
[3]  
[Anonymous], 1998, RFC
[4]  
BACKHOUSE RC, 1975, J I MATH APPL, V15, P161
[5]   CALCULATING PATH ALGORITHMS [J].
BACKHOUSE, RC ;
VANDENEIJNDE, JPHW ;
VANGASTEREN, AJM .
SCIENCE OF COMPUTER PROGRAMMING, 1994, 22 (1-2) :3-19
[6]  
Bellman R., 1958, ROUTING PROBLEM Q AP, V16, P87
[7]  
Berge C., 1962, THEORY GRAPHS ITS AP
[8]  
CARRE B, 1979, OXFORD APPL MATH COM
[9]  
Carre B. A., 1971, Journal of the Institute of Mathematics and Its Applications, V7, P273
[10]  
Coltun R, 2008, 2328 RFC