首页> 外文会议>IEEE Annual Symposium on Foundations of Computer Science >Replacement Paths via Fast Matrix Multiplication
【24h】

Replacement Paths via Fast Matrix Multiplication

机译:通过快速矩阵乘法替换路径

获取原文

摘要

Let G be a directed edge-weighted graph and let P be a shortest path from s to t in G. The replacement paths problem asks to compute, for every edge e on P, the shortest s-to-t path that avoids e. Apart from approximation algorithms and algorithms for special graph classes, the naive solution to this problem – removing each edge e on P one at a time and computing the shortest s-to-t path each time – is surprisingly the only known solution for directed weighted graphs, even when the weights are integrals. In particular, although the related shortest paths problem has benefited from fast matrix multiplication, the replacement paths problem has not, and still required cubic time. For an n-vertex graph with integral edge-lengths between -M and M, we give a randomized algorithm that uses fast matrix multiplication and is sub-cubic for appropriate values of M. We also show how to construct a distance sensitivity oracle in the same time bounds. A query (u,v,e) to this oracle requires sub-quadratic time and returns the length of the shortest u-to-v path that avoids the edge e. In fact, for any constant number of edge failures, we construct a data structure in sub-cubic time, that answer queries in sub-quadratic time. Our results also apply for avoiding vertices rather than edges.
机译:设g是一个定向的边缘加权图,让p是G中的最短路径。替换路径问题要求为每个边缘e进行计算,避免e的最短s-to-t路径。除近似算法和特殊图表类的算法外,这个问题的天真解决方案 - 一次在P一个上删除每个边缘,每次计算最短的S-to-t路径 - 令人惊讶的是,唯一已知的被定向加权的解决方案图表,即使重量是积分的。特别是,尽管相关的最短路径问题受益于快速矩阵乘法,但是替换路径问题没有,仍然需要立方时间。对于在-m和m之间的积分边缘长度的n个顶点图,我们提供了一种随机化算法,该算法使用快速矩阵乘法,并且是适当的M的子立方。我们还展示了如何构建距离灵敏度oracle相同的时间界限。查询(U,V,E),以此Oracle要求子二次时间并返回其避免了边e的最短的u-到-V路径的长度。实际上,对于任何恒定数量的边缘故障,我们在子立方时间中构造数据结构,该数据结构在亚二次时间中回答查询。我们的结果还适用于避免顶点而不是边缘。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号