Depth First Search in the Semi-streaming Model
Shahbaz Khan, Shashank K. Mehta

TL;DR
This paper introduces novel semi-streaming algorithms for computing DFS trees in undirected graphs with fewer passes and less space than previous methods, demonstrating practical efficiency on real and random graphs.
Contribution
First semi-streaming algorithms are presented that compute DFS trees in o(n) passes using o(m) space, with a flexible framework for trade-offs between passes and space.
Findings
Algorithms perform well on real and random graphs
Require only a few passes with O(n) space in practice
Improve bounds for shallow DFS trees
Abstract
Depth first search (DFS) tree is a fundamental data structure for solving various graph problems. The classical DFS algorithm requires time for a graph having vertices and edges. In the streaming model, an algorithm is allowed several passes (preferably single) over the input graph having a restriction on the size of local space used. Trivially, a DFS tree can be computed using a single pass using space. In the semi-streaming model allowing space, it can be computed in passes, where each pass adds one vertex to the DFS tree. However, it remains an open problem to compute a DFS tree using passes using space even in any relaxed streaming environment. We present the first semi-streaming algorithms that compute a DFS tree of an undirected graph in passes using space. We first describe an extremely simple algorithm that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
