Min-plus matrix multiplication

From testwiki
Revision as of 08:40, 18 November 2024 by imported>Jlwoodwa (Added {{No footnotes}} tag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:No footnotes Min-plus matrix multiplication, also known as distance product, is an operation on matrices.

Given two n×n matrices A=(aij) and B=(bij), their distance product C=(cij)=AB is defined as an n×n matrix such that cij=mink=1n{aik+bkj}. 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. If W is an n×n matrix containing the edge weights of a graph, then Wk gives the distances between vertices using paths of length at most k edges, and Wn is the distance matrix of the graph.

References

See also


Template:Graph-stub