English

A Labeling Approach to Incremental Cycle Detection

Data Structures and Algorithms 2013-11-01 v1 Distributed, Parallel, and Cluster Computing

Abstract

In the \emph{incremental cycle detection} problem arcs are added to a directed acyclic graph and the algorithm has to report if the new arc closes a cycle. One seeks to minimize the total time to process the entire sequence of arc insertions, or until a cycle appears. In a recent breakthrough, Bender, Fineman, Gilbert and Tarjan \cite{BeFiGiTa11} presented two different algorithms, with time complexity O(n2logn)O(n^2 \log n) and O(mmin{m1/2,n2/3})O(m \cdot \min \{m^{1/2}, n^{2/3} \}), respectively. In this paper we introduce a new technique for incremental cycle detection that allows us to obtain both bounds (up to a logarithmic factor). Furthermore, our approach seems more amiable for distributed implementation.

Keywords

Cite

@article{arxiv.1310.8381,
  title  = {A Labeling Approach to Incremental Cycle Detection},
  author = {Edith Cohen and Amos Fiat and Haim Kaplan and Liam Roditty},
  journal= {arXiv preprint arXiv:1310.8381},
  year   = {2013}
}

Comments

15 pages, one figure

R2 v1 2026-06-22T01:58:00.006Z