Space-efficient DFS and applications to connectivity problems: simpler, leaner, faster

From MaRDI portal
Publication:2300733

DOI10.1007/S00453-019-00629-XzbMATH Open1435.68405arXiv1805.11864OpenAlexW2977205563WikidataQ127205061 ScholiaQ127205061MaRDI QIDQ2300733FDOQ2300733


Authors: Torben Hagerup Edit this on Wikidata


Publication date: 28 February 2020

Published in: Algorithmica (Search for Journal in Brave)

Abstract: The problem of space-efficient depth-first search (DFS) is reconsidered. A particularly simple and fast algorithm is presented that, on a directed or undirected input graph G=(V,E) with n vertices and m edges, carries out a DFS in O(n+m) time with n+sumvinVge3lceillog2(dv1)ceil+O(logn)len+m+O(logn) bits of working memory, where dv is the (total) degree of v, for each vinV, and Vge3=vinVmiddvge3. A slightly more complicated variant of the algorithm works in the same time with at most n+(4/5)m+O(logn) bits. It is also shown that a DFS can be carried out in a graph with n vertices and m edges in O(n+mlog!n) time with O(n) bits or in O(n+m) time with either O(nloglog(4+m/n)) bits or, for arbitrary integer kge1, O(nlog(k)!n) bits. These results among them subsume or improve most earlier results on space-efficient DFS. Some of the new time and space bounds are shown to extend to applications of DFS such as the computation of cut vertices, bridges, biconnected components and 2-edge-connected components in undirected graphs.


Full work available at URL: https://arxiv.org/abs/1805.11864




Recommendations




Cites Work


Cited In (19)





This page was built for publication: Space-efficient DFS and applications to connectivity problems: simpler, leaner, faster

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2300733)