Lune

SODA2020顶会

An Improved Algorithm for Incremental Cycle Detection and Topological Ordering in Sparse Graphs

Sayan Bhattacharya, Janardhan Kulkarni

摘要

We consider the problem of incremental cycle detection and topological ordering in a directed graph G = (V, E) with |V | = n nodes. In this setting, initially the edge-set E of the graph is empty. Subsequently, at each time-step an edge gets inserted into G. After every edge-insertion, we have to report if the current graph contains a cycle, and as long as the graph remains acyclic, we have to maintain a topological ordering of the node-set V . Let m be the total number of edges that get inserted into G. We present a randomized algorithm for this problem with Õ(m 4/3 ) total expected update time.

Our result improves the Õ(m • min(m 1/2 , n 2/3 )) total update time bound of [BFGT16; HKMST08; HKMST12; CFKR13]. Furthermore, whenever m = o(n 3/2 ), our result improves upon the recently obtained Õ(m √ n) total update time bound of [BC18]. We note that if m = Ω(n 3/2 ), then the algorithm of [BFGT16; BFG09; CFKR13], which has Õ(n 2 ) total update time, beats the performance of the Õ(m √ n) time algorithm of [BC18]. It follows that we improve upon the total update time of the algorithm of [BC18] in the "interesting" range of sparsity where m = o(n 3/2 ).

Our result also happens to be the first one that breaks the Ω(n √ m) lower bound of [HKMST08] on the total update time of any local algorithm for a nontrivial range of sparsity. Specifically, the total update time of our algorithm is o(n √ m) whenever m = o(n 6/5 ). From a technical perspective, we obtain our result by combining the algorithm of [BC18] with the balanced search framework of [HKMST12].

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Almost-Linear Time Algorithms for Incremental Graphs: Cycle Detection, SCCs, s-t Shortest Path, and Minimum-Cost Flow 引用了 New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Almost-Linear Time Algorithms for Incremental Graphs: Cycle Detection, SCCs, s-t Shortest Path, and Minimum-Cost Flow 引用了 Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear Time
  • Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear Time 引用了 New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Efficient Distributed Hop-Constrained Path Enumeration on Large-Scale Graphs 引用了 PathEnum: Towards Real-Time Hop-Constrained s-t Path Enumeration
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. PathEnum: Towards Real-Time Hop-Constrained s-t Path EnumerationShixuan Sun, Yuhang Chen, Bingsheng He, Bryan HooiSIGMOD 2021 · 28 次引用
  2. Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear TimeAaron Bernstein, Maximilian Probst Gutenberg, Thatchaphol SaranurakFOCS 2021 · 27 次引用
  3. New algorithms and hardness for incremental single-source shortest paths in directed graphsMaximilian Probst Gutenberg, Virginia Vassilevska Williams, Nicole WeinSTOC 2020 · 21 次引用
  4. Almost-Linear Time Algorithms for Incremental Graphs: Cycle Detection, SCCs, s-t Shortest Path, and Minimum-Cost FlowLi Chen, Rasmus Kyng, Yang P. Liu, Simon Meierhans 等STOC 2024 · 11 次引用
  5. Efficient Distributed Hop-Constrained Path Enumeration on Large-Scale GraphsYuanyuan Zeng, Yixiang Fang, Chenhao Ma, Xu Zhou 等SIGMOD 2024 · 7 次引用

相关 Paper

  1. Incremental Topological Ordering and Cycle Detection with PredictionsSamuel McCauley, Benjamin Moseley, Aidin Niaparast, Shikha SinghICML 2024 · 6 次引用
  2. Incremental Single Source Shortest Paths in Sparse DigraphsShiri Chechik, Tianyi ZhangSODA 2021 · 5 次引用
  3. Incremental Shortest Paths in Almost Linear Time via a Modified Interior Point MethodYang P. LiuSTOC 2026 · 1 次引用
  4. Incremental Approximate Maximum Flow on Undirected Graphs in Subpolynomial Update TimeJan van den Brand, Li Chen, Rasmus Kyng, Yang P. Liu 等SODA 2024 · 3 次引用
  5. Dynamic Maxflow via Dynamic Interior Point MethodsJan van den Brand, Yang P. Liu, Aaron SidfordSTOC 2023 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖