English

Streaming Complexity of Spanning Tree Computation

Data Structures and Algorithms 2020-01-22 v1

Abstract

The semi-streaming model is a variant of the streaming model frequently used for the computation of graph problems. It allows the edges of an nn-node input graph to be read sequentially in pp passes using O~(n)\tilde{O}(n) space. In this model, some graph problems, such as spanning trees and kk-connectivity, can be exactly solved in a single pass; while other graph problems, such as triangle detection and unweighted all-pairs shortest paths, are known to require Ω~(n)\tilde{\Omega}(n) passes to compute. For many fundamental graph problems, the tractability in these models is open. In this paper, we study the tractability of computing some standard spanning trees. Our results are: (1) Maximum-Leaf Spanning Trees. This problem is known to be APX-complete with inapproximability constant ρ[245/244,2)\rho\in[245/244,2). By constructing an ε\varepsilon-MLST sparsifier, we show that for every constant ε>0\varepsilon > 0, MLST can be approximated in a single pass to within a factor of 1+ε1+\varepsilon w.h.p. (albeit in super-polynomial time for ερ1\varepsilon \le \rho-1 assuming PNP\mathrm{P} \ne \mathrm{NP}). (2) BFS Trees. It is known that BFS trees require ω(1)\omega(1) passes to compute, but the na\"{i}ve approach needs O(n)O(n) passes. We devise a new randomized algorithm that reduces the pass complexity to O(n)O(\sqrt{n}), and it offers a smooth tradeoff between pass complexity and space usage. (3) DFS Trees. The current best algorithm by Khan and Mehta {[}STACS 2019{]} takes O~(h)\tilde{O}(h) passes, where hh is the height of computed DFS trees. Our contribution is twofold. First, we provide a simple alternative proof of this result, via a new connection to sparse certificates for kk-node-connectivity. Second, we present a randomized algorithm that reduces the pass complexity to O(n)O(\sqrt{n}), and it also offers a smooth tradeoff between pass complexity and space usage.

Keywords

Cite

@article{arxiv.2001.07672,
  title  = {Streaming Complexity of Spanning Tree Computation},
  author = {Yi-Jun Chang and Martin Farach-Colton and Tsan-Sheng Hsu and Meng-Tsung Tsai},
  journal= {arXiv preprint arXiv:2001.07672},
  year   = {2020}
}

Comments

This is the full version of a conference paper to appear in the Proceedings of 37th International Symposium on Theoretical Aspects of Computer Science (STACS)

R2 v1 2026-06-23T13:16:51.776Z