HOME

TheInfoList



OR:

Min-plus matrix multiplication, also known as distance product, is an operation on
matrices Matrix (: matrices or matrixes) or MATRIX may refer to: Science and mathematics * Matrix (mathematics), a rectangular array of numbers, symbols or expressions * Matrix (logic), part of a formula in prenex normal form * Matrix (biology), the ...
. Given two n \times n matrices A = (a_) and B = (b_), their distance product C = (c_) = A \star B is defined as an n \times n matrix such that c_ = \min_^n \. This is standard matrix multiplication for the semi-ring of tropical numbers in the min convention. This operation is closely related to the
shortest path problem In graph theory, the shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized. The problem of finding the shortest path between t ...
. If W is an n \times n matrix containing the edge weights of a graph, then W^k gives the distances between vertices using paths of length at most k edges, and W^n is the distance matrix of the graph.


References

* Uri Zwick. 2002
All pairs shortest paths using bridging sets and rectangular matrix multiplication
''J. ACM'' 49, 3 (May 2002), 289–317. * Liam Roditty and Asaf Shapira. 2008
All-Pairs Shortest Paths with a Sublinear Additive Error
ICALP '08, Part I, LNCS 5125, pp. 622–633, 2008.


See also

* Floyd–Warshall algorithm * Tropical geometry Graph products Graph distance {{graph-stub