2015
DOI: 10.1145/2756553
|View full text |Cite
|
Sign up to set email alerts
|

A New Approach to Incremental Cycle Detection and Related Problems

Abstract: 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 algorith… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
37
0

Year Published

2015
2015
2023
2023

Publication Types

Select...
6
2
1

Relationship

0
9

Authors

Journals

citations
Cited by 48 publications
(40 citation statements)
references
References 28 publications
(31 reference statements)
0
37
0
Order By: Relevance
“…Hence, the naive approach in which after every update we simply recompute everything from scratch yields a O(nm + m 2 ) total update time. The problems of the incremental cycle detection and topological order have been extensively studied in the last three decades [3,19,21,15,18,2,1,16,8,4,5,6]. Marchetti-Spaccamela et al [19] obtained algorithms for these problems in O(nm) total update time.…”
Section: Introductionmentioning
confidence: 99%
See 1 more Smart Citation
“…Hence, the naive approach in which after every update we simply recompute everything from scratch yields a O(nm + m 2 ) total update time. The problems of the incremental cycle detection and topological order have been extensively studied in the last three decades [3,19,21,15,18,2,1,16,8,4,5,6]. Marchetti-Spaccamela et al [19] obtained algorithms for these problems in O(nm) total update time.…”
Section: Introductionmentioning
confidence: 99%
“…In a breakthrough result Bender, Fineman, Gilbert and Tarjan [5] presented two different algorithms, with total update time of O(n 2 log n) and O(m · min{m 1/2 , n 2/3 }), respectively. Despite previous attempts, for sparse graphs no better than O(m 3/2 ) total update time algorithm was found.…”
Section: Introductionmentioning
confidence: 99%
“…The first for loop (lines 3-7) finds the cycle weight. The second for loop (lines [8][9][10][11][12][13][14][15][16][17][18][19][20] decreases all of the arc weights of C by w C . If the weight of an arc becomes 0, delete this arc (line 11).…”
Section: Algorithm 4 Detect Cycles Of a Weighted Directed Graphmentioning
confidence: 99%
“…To ensure the correctness of FastIDC, negative cycles had to be detected. The CCGraph was introduced for this purpose [10], and was updated using a fast but complex incremental topological ordering algorithm [1]. EIDC additionally needs to keep track of the transitive closure of all negative edges.…”
Section: Lemma 3 (Finished Lemma)mentioning
confidence: 99%