A New Approach to Incremental Cycle Detection and Related Problems

Author:

Bender Michael A.1,Fineman Jeremy T.2,Gilbert Seth3,Tarjan Robert E.4

Affiliation:

1. Stony Brook University, Stony Brook, NY

2. Georgetown University, Washington, DC

3. National University of Singapore

4. Princeton University and Intertrust Technologies, Sunnyvale, CA

Abstract

We consider the problem of detecting a cycle in a directed graph that grows by arc insertions and the related problems of maintaining a topological order and the strong components of such a graph. For these problems, we give two algorithms, one suited to sparse graphs, the other to dense graphs. The former takes O (min { m 1/2 , n 2/3 } m ) time to insert m arcs into an n -vertex graph; the latter takes O ( n 2 log n ) time. Our sparse algorithm is substantially simpler than a previous O ( m 3/2 )-time algorithm; it is also faster on graphs of sufficient density. The time bound of our dense algorithm beats the previously best time bound of O ( n 5/2 ) for dense graphs. Our algorithms rely for their efficiency on vertex numberings weakly consistent with topological order: we allow ties. Bounds on the size of the numbers give bounds on running time.

Funder

National Science Foundation

MOEARC-2

U.S.-Israel Binational Science Foundation

NSF/CRA- sponsored CIFellows program

Distinguished Visitor program in the Stanford University Computer Science Department

Publisher

Association for Computing Machinery (ACM)

Subject

Mathematics (miscellaneous)

Cited by 27 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Almost-Linear Time Algorithms for Incremental Graphs: Cycle Detection, SCCs, s-t Shortest Path, and Minimum-Cost Flow;Proceedings of the 56th Annual ACM Symposium on Theory of Computing;2024-06-10

2. Using reactive links to propagate changes across engineering models;Software and Systems Modeling;2024-06-10

3. Efficient Distributed Hop-Constrained Path Enumeration on Large-Scale Graphs;Proceedings of the ACM on Management of Data;2024-03-12

4. Minimum Strongly Connected Subgraph Collection in Dynamic Graphs;Proceedings of the VLDB Endowment;2024-02

5. Satisfiability Modulo Ordering Consistency Theory for SC, TSO, and PSO Memory Models;ACM Transactions on Programming Languages and Systems;2023-03-03

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3