...
首页> 外文期刊>OASIcs : OpenAccess Series in Informatics >Single Source Shortest Paths for All Flows with Integer Costs
【24h】

Single Source Shortest Paths for All Flows with Integer Costs

机译:具有整数成本的所有流的单源最短路径

获取原文

摘要

We consider a shortest path problem for a directed graph with edges labeled with a cost and a capacity. The problem is to push an unsplittable flow $f$ from a specified source to all other vertices with the minimum cost for all f values. Let G = (V, E) with |V| = n and |E| = m. If there are t different capacity values, we can solve the single source shortest path problem t times for all f in O(tm + tn log n) time, which is O(m^2) when t = m. We improve this time to O(min{t, cn}m + cn^2), which is less than O(cmn) if edge costs are non-negative integers bounded by c. Our algorithm performs better for denser graphs.
机译:我们考虑带有标记有成本和容量的边的有向图的最短路径问题。问题是将不可拆分的流$ f $从指定的源推到所有其他顶点,且所有f值的成本最小。令G =(V,E),| V | = n和| E | =米如果有t个不同的容量值,我们可以在O(tm + tn log n)时间内对所有f求解一次t源最短路径问题,当t = m时为O(m ^ 2)。如果边缘成本是由c限定的非负整数,我们可以将此时间提高到O(min {t,cn} m + cn ^ 2),小于O(cmn)。对于更密集的图,我们的算法表现更好。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号