Skip to main content

Incremental Cycle Detection, Topological Ordering, and Strong Component Maintenance

Author(s): Haeupler, Bernhard; Kavitha, Telikepalli; Mathew, Rogers; Sen, Siddhartha; Tarjan, Robert E

Download
To refer to this page use: http://arks.princeton.edu/ark:/88435/pr15v7t
Full metadata record
DC FieldValueLanguage
dc.contributor.authorHaeupler, Bernhard-
dc.contributor.authorKavitha, Telikepalli-
dc.contributor.authorMathew, Rogers-
dc.contributor.authorSen, Siddhartha-
dc.contributor.authorTarjan, Robert E-
dc.date.accessioned2021-10-08T19:47:33Z-
dc.date.available2021-10-08T19:47:33Z-
dc.date.issued2012-01en_US
dc.identifier.citationHaeupler, Bernhard, Telikepalli Kavitha, Rogers Mathew, Siddhartha Sen, and Robert E. Tarjan. "Incremental Cycle Detection, Topological Ordering, and Strong Component Maintenance." ACM Transactions on Algorithms 8, no. 1 (2012): 3:1-3:33. doi:10.1145/2071379.2071382en_US
dc.identifier.issn1549-6325-
dc.identifier.urihttps://arxiv.org/pdf/1105.2397.pdf-
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/pr15v7t-
dc.description.abstractWe present two online algorithms for maintaining a topological order of a directed n-vertex acyclic graph as arcs are added, and detecting a cycle when one is created. Our first algorithm handles m arc additions in O(m3/2) time. For sparse graphs (m/n = O(1)), this bound improves the best previous bound by a logarithmic factor, and is tight to within a constant factor among algorithms satisfying a natural locality property. Our second algorithm handles an arbitrary sequence of arc additions in O(n5/2) time. For sufficiently dense graphs, this bound improves the best previous bound by a polynomial factor. Our bound may be far from tight: we show that the algorithm can take Ω(n22√2 lg n) time by relating its performance to a generalization of the k-levels problem of combinatorial geometry. A completely different algorithm running in Θ(n2 log n) time was given recently by Bender, Fineman, and Gilbert. We extend both of our algorithms to the maintenance of strong components, without affecting the asymptotic time bounds.en_US
dc.format.extent3:1 - 3:33en_US
dc.language.isoen_USen_US
dc.relation.ispartofACM Transactions on Algorithmsen_US
dc.rightsAuthor's manuscripten_US
dc.titleIncremental Cycle Detection, Topological Ordering, and Strong Component Maintenanceen_US
dc.typeJournal Articleen_US
dc.identifier.doi10.1145/2071379.2071382-
dc.identifier.eissn1549-6333-
pu.type.symplectichttp://www.symplectic.co.uk/publications/atom-terms/1.0/journal-articleen_US

Files in This Item:
File Description SizeFormat 
IncrementCycleDetectTopologicalOrderStrongCompMaintenance.pdf1.1 MBAdobe PDFView/Download


Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.