Fully Dynamic Depth-First Search in Directed Graphs
Bohua Yang, Dong Wen, Lu Qin, Ying Zhang, Xubo Wang, Xuemin Lin
Abstract
Depth-first search (DFS) is a fundamental and important algorithm in graph analysis. It is the basis of many graph algorithms such as computing strongly connected components, testing planarity, and detecting biconnected components. The result of a DFS is normally shown as a DFS-Tree. Given the frequent updates in many real-world graphs (e.g., social networks and communication networks), we study the problem of DFS-Tree maintenance in dynamic directed graphs. In the literature, most works focus on the DFS-Tree maintenance problem in undirected graphs and directed acyclic graphs. However, their methods cannot easily be applied in the case of general directed graphs. Motivated by this, we propose a framework and corresponding algorithms for both edge insertion and deletion in general directed graphs. We further give several optimizations to speed up the algorithms. We conduct extensive experiments on 12 real-world datasets to show the efficiency of our proposed algorithms.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers5
- Incrementalizing Graph AlgorithmsWenfei Fan, Chao Tian, Ruiqi Xu, Qiang Yin et al.SIGMOD 2021 · 19 citations
- Querying Structural Diversity in Streaming GraphsKaiyu Chen, Dong Wen, Wenjie Zhang, Ying Zhang et al.VLDB 2024 · 9 citations
- Minimum Spanning Tree Maintenance in Dynamic GraphsLantian Xu, Dong Wen, Lu Qin, Ronghua Li et al.SIGMOD 2025 · 2 citations
- DiggerBees: Depth First Search Leveraging Hierarchical Block-Level Stealing on GPUsYuyao Niu, Yuechen Lu, Weifeng Liu, Marc CasasPPoPP 2026 · 1 citation
- Privacy-Preserving Triangle Counting in Directed GraphsZiyao Wei, Qing Liu, Zhikun Zhang, Shouling Ji et al.ICDE 2025
Related papers
- Maximal D-truss Search in Dynamic Directed GraphsAnxin Tian, Alexander Zhou, Yue Wang, Lei ChenVLDB 2023 · 21 citations
- Constant-time Connectivity Querying in Dynamic GraphsLantian Xu, Dong Wen, Lu Qin, Ronghua Li et al.SIGMOD 2025 · 2 citations
- Near-optimal fully dynamic densest subgraphSaurabh Sawlani, Junxing WangSTOC 2020 · 46 citations
- Efficient fully dynamic elimination forests with applications to detecting long paths and cyclesJiehua Chen, Wojciech Czerwinski, Yann Disser, Andreas Emil Feldmann et al.SODA 2021 · 7 citations
- Minimum Strongly Connected Subgraph Collection in Dynamic GraphsXin Chen, Jieming Shi, You Peng, Wenqing Lin et al.VLDB 2024 · 4 citations
