...
首页> 外文期刊>SIAM Journal on Computing >A FULLY DYNAMIC REACHABILITY ALGORITHM FOR DIRECTED GRAPHS WITH AN ALMOST LINEAR UPDATE TIME
【24h】

A FULLY DYNAMIC REACHABILITY ALGORITHM FOR DIRECTED GRAPHS WITH AN ALMOST LINEAR UPDATE TIME

机译:具有几乎线性更新时间的定向图形的完全动态可达性算法

获取原文
获取原文并翻译 | 示例

摘要

We obtain a new fully dynamic algorithm for the reachability problem in directed graphs. Our algorithm has an amortized update time of O(m + n log n) and a worst-case query time of O(n), where m is the current number of edges in the graph, and n is the number of vertices in the graph. Each update operation either inserts a set of edges that touch the same vertex, or deletes an arbitrary set of edges. The algorithm is deterministic and uses fairly simple data structures. One of the ingredients used by this new algorithm may be interesting in its own right. It is a new dynamic algorithm for strong connectivity in directed graphs with an interesting "retrospectiveness" property. Each insert operation creates a new version of the graph. A delete operation deletes edges from all versions. Strong connectivity queries can be made on each version of the graph. The algorithm handles each update in O(m alpha(n)) amortized time, and each query in O(1) worst-case time, where alpha(n) is a functional inverse of Ackermann's function appearing in the analysis of the Union-Find data structure. Note that the update time of O(m alpha(n)), in the case of a delete operation, is the time needed for updating all versions of the graph.
机译:我们在有向图中获得了新的全动态动态算法。我们的算法具有O(m + n log n)的摊销更新时间,以及o(n)的最坏情况查询时间,其中m是图表中的当前边数,n是顶点的数量图形。每个更新操作要么插入触摸相同顶点的一组边缘,或者删除一组任意的边缘。该算法是确定性的,并使用相当简单的数据结构。这种新算法使用的成分之一可能是其自己的右边有趣。它是一种新的动态算法,用于具有有趣的“回归”属性的有关图表中的强连接。每个插入操作都会创建图形的新版本。删除操作删除所有版本的边缘。可以在图表的每个版本上进行强大的连接查询。该算法处理O(m个alpha(n))摊销时间中的每个更新,以及在O(1)中的每个查询最坏情况,其中alpha(n)是Ackermann函数的功能倒像在unions分析中出现的函数 - 查找数据结构。请注意,在删除操作的情况下,o(m alpha(n))的更新时间是更新图形所有版本所需的时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号