Jump to content
Wikipedia The Free Encyclopedia

Min-plus matrix multiplication

From Wikipedia, the free encyclopedia
Mathematical operation on matrices
This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations . Please help improve this article by introducing more precise citations. (November 2024) (Learn how and when to remove this message)

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

Given two n × n {\displaystyle n\times n} {\displaystyle n\times n} matrices A = ( a i j ) {\displaystyle A=(a_{ij})} {\displaystyle A=(a_{ij})} and B = ( b i j ) {\displaystyle B=(b_{ij})} {\displaystyle B=(b_{ij})}, their distance product C = ( c i j ) = A B {\displaystyle C=(c_{ij})=A\star B} {\displaystyle C=(c_{ij})=A\star B} is defined as an n × n {\displaystyle n\times n} {\displaystyle n\times n} matrix such that c i j = min k = 1 n { a i k + b k j } {\displaystyle c_{ij}=\min _{k=1}^{n}\{a_{ik}+b_{kj}\}} {\displaystyle c_{ij}=\min _{k=1}^{n}\{a_{ik}+b_{kj}\}}. 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 {\displaystyle W} {\displaystyle W} is an n × n {\displaystyle n\times n} {\displaystyle n\times n} matrix containing the edge weights of a graph, then W k {\displaystyle W^{k}} {\displaystyle W^{k}} gives the distances between vertices using paths of length at most k {\displaystyle k} {\displaystyle k} edges, and W n {\displaystyle W^{n}} {\displaystyle W^{n}} is the distance matrix of the graph.

References

[edit ]

See also

[edit ]


Stub icon

This graph theory-related article is a stub. You can help Wikipedia by expanding it.

AltStyle によって変換されたページ (->オリジナル) /