Skip to main content
To KTH's start page

Answering distance queries in directed graphs using fast matrix multiplication

Speaker: Uri Zwick, Tel Aviv University, Israel
Joint work with Raphael Yuster.

Time: Wed 2005-06-15 13.15 - Wed 2013-10-23 13.00

Location: Room 1537

Export to calendar

Abstrakt:

Let G=(V,E,w) be a weighted directed graph with integer edge weights of absolute value at most M. We show that G can be preprocessed in O*(Mn^w) time, where w<2.376 is the exponent of fast matrix multiplication, such that subsequently each distance d(u,v) in the graph can be computed exactly in O(n) time. As a very special case, we obtain an O*(Mn^w) time algorithm for the SINGLE SOURCE SHORTEST PATHS (SSSP) problem for directed graphs with integer weights of absolute value at most M. For sufficiently dense graph, with edge weights that are not too large, this improves upon the O*(mn^{1/2}log M) time algorithms of Gabow and Tarjan, and Goldberg.