...
首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >An Improved Algorithm for Incremental DFS Tree in Undirected Graphs
【24h】

An Improved Algorithm for Incremental DFS Tree in Undirected Graphs

机译:无向图中增量DFS树的一种改进算法

获取原文
   

获取外文期刊封面封底 >>

       

摘要

Depth first search (DFS) tree is one of the most well-known data structures for designing efficient graph algorithms. Given an undirected graph G=(V,E) with n vertices and m edges, the textbook algorithm takes O(n+m) time to construct a DFS tree. In this paper, we study the problem of maintaining a DFS tree when the graph is undergoing incremental updates. Formally, we show:Given an arbitrary online sequence of edge or vertex insertions, there is an algorithm that reports a DFS tree in O(n) worst case time per operation, and requires O (min {m log n, n^2}) preprocessing time.Our result improves the previous O(n log^3 n) worst case update time algorithm by Baswana et al. [Baswana et al., 2016] and the O(n log n) time by Nakamura and Sadakane [Nakamura and Sadakane, 2017], and matches the trivial Omega(n) lower bound when it is required to explicitly output a DFS tree.Our result builds on the framework introduced in the breakthrough work by Baswana et al. [Baswana et al., 2016], together with a novel use of a tree-partition lemma by Duan and Zhang [Duan and Zhang, 2016], and the celebrated fractional cascading technique by Chazelle and Guibas [Chazelle and Guibas, 1986a; Chazelle and Guibas, 1986b].
机译:深度优先搜索(DFS)树是用于设计有效图形算法的最著名数据结构之一。给定具有n个顶点和m个边的无向图G =(V,E),教科书算法需要O(n + m)的时间来构造DFS树。在本文中,我们研究了在图形进行增量更新时维护DFS树的问题。正式地,我们显示:给定一个任意的边或顶点插入在线序列,有一种算法可以在每次操作的O(n)最坏情况下报告DFS树,并且需要O(最小{m log n,n ^ 2}我们的结果改进了Baswana等人先前的O(n log ^ 3 n)最坏情况更新时间算法。 [Baswana et al。,2016]和Nakamura和Sadakane的O(n log n)时间[Nakamura和Sadakane,2017],并且在需要显式输出DFS树时,与琐碎的Omega(n)下限匹配。我们的结果基于Baswana等人在突破性工作中引入的框架。 [Baswana et al。,2016],以及Duan和Zhang [Duan and Zhang,2016]对树分区引理的新颖用法,以及Chazelle和Guibas [Chazelle和Guibas,1986a]著名的分数级联技术; Chazelle和Guibas,1986b]。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号