English

Near-Optimal Spanners for General Graphs in (Nearly) Linear Time

Data Structures and Algorithms 2021-08-03 v1

Abstract

Let G=(V,E,w)G = (V,E,w) be a weighted undirected graph on V=n|V| = n vertices and E=m|E| = m edges, let k1k \ge 1 be any integer, and let ϵ<1\epsilon < 1 be any parameter. We present the following results on fast constructions of spanners with near-optimal sparsity and lightness, which culminate a long line of work in this area. (By near-optimal we mean optimal under Erd\H{o}s' girth conjecture and disregarding the ϵ\epsilon-dependencies.) - There are (deterministic) algorithms for constructing (2k1)(1+ϵ)(2k-1)(1+\epsilon)-spanners for GG with a near-optimal sparsity of O(n1/klog(1/ϵ)/ϵ))O(n^{1/k} \log(1/\epsilon)/\epsilon)). The first algorithm can be implemented in the pointer-machine model within time O(mα(m,n)log(1/ϵ)/ϵ)+SORT(m))O(m\alpha(m,n) \log(1/\epsilon)/\epsilon) + SORT(m)), where α(,)\alpha( , ) is the two-parameter inverse-Ackermann function and SORT(m)SORT(m) is the time needed to sort mm integers. The second algorithm can be implemented in the WORD RAM model within time O(mlog(1/ϵ)/ϵ))O(m \log(1/\epsilon)/\epsilon)). - There is a (deterministic) algorithm for constructing a (2k1)(1+ϵ)(2k-1)(1+\epsilon)-spanner for GG that achieves a near-optimal bound of O(n1/kpoly(1/ϵ))O(n^{1/k}\mathrm{poly}(1/\epsilon)) on both sparsity and lightness. This algorithm can be implemented in the pointer-machine model within time O(mα(m,n)poly(1/ϵ)+SORT(m))O(m\alpha(m,n) \mathrm{poly}(1/\epsilon) + SORT(m)) and in the WORD RAM model within time O(mα(m,n)poly(1/ϵ))O(m \alpha(m,n) \mathrm{poly}(1/\epsilon)). The previous fastest constructions of (2k1)(1+ϵ)(2k-1)(1+\epsilon)-spanners with near-optimal sparsity incur a runtime of is O(min{m(n1+1/k)+nlogn,kn2+1/k})O(\min\{m(n^{1+1/k}) + n\log n,k n^{2+1/k}\}), even regardless of the lightness. Importantly, the greedy spanner for stretch 2k12k-1 has sparsity O(n1/k)O(n^{1/k}) -- with no ϵ\epsilon-dependence whatsoever, but its runtime is O(m(n1+1/k+nlogn))O(m(n^{1+1/k} + n\log n)). Moreover, the state-of-the-art lightness bound of any (2k1)(2k-1)-spanner is poor, even regardless of the sparsity and runtime.

Keywords

Cite

@article{arxiv.2108.00102,
  title  = {Near-Optimal Spanners for General Graphs in (Nearly) Linear Time},
  author = {Hung Le and Shay Solomon},
  journal= {arXiv preprint arXiv:2108.00102},
  year   = {2021}
}

Comments

37 pages, 5 figures