English

On Pairwise Spanners

Data Structures and Algorithms 2013-01-11 v1

Abstract

Given an undirected nn-node unweighted graph G=(V,E)G = (V, E), a spanner with stretch function f()f(\cdot) is a subgraph HGH\subseteq G such that, if two nodes are at distance dd in GG, then they are at distance at most f(d)f(d) in HH. Spanners are very well studied in the literature. The typical goal is to construct the sparsest possible spanner for a given stretch function. In this paper we study pairwise spanners, where we require to approximate the uu-vv distance only for pairs (u,v)(u,v) in a given set \cPV×V\cP \subseteq V\times V. Such \cP\cP-spanners were studied before [Coppersmith,Elkin'05] only in the special case that f()f(\cdot) is the identity function, i.e. distances between relevant pairs must be preserved exactly (a.k.a. pairwise preservers). Here we present pairwise spanners which are at the same time sparser than the best known preservers (on the same \cP\cP) and of the best known spanners (with the same f()f(\cdot)). In more detail, for arbitrary \cP\cP, we show that there exists a P\mathcal{P}-spanner of size O(n(\cPlogn)1/4)O(n(|\cP|\log n)^{1/4}) with f(d)=d+4lognf(d)=d+4\log n. Alternatively, for any \eps>0\eps>0, there exists a \cP\cP-spanner of size O(n\cP1/4logn\eps)O(n|\cP|^{1/4}\sqrt{\frac{\log n}{\eps}}) with f(d)=(1+\eps)d+4f(d)=(1+\eps)d+4. We also consider the relevant special case that there is a critical set of nodes SVS\subseteq V, and we wish to approximate either the distances within nodes in SS or from nodes in SS to any other node. We show that there exists an (S×S)(S\times S)-spanner of size O(nS)O(n\sqrt{|S|}) with f(d)=d+2f(d)=d+2, and an (S×V)(S\times V)-spanner of size O(nSlogn)O(n\sqrt{|S|\log n}) with f(d)=d+2lognf(d)=d+2\log n. All the mentioned pairwise spanners can be constructed in polynomial time.

Keywords

Cite

@article{arxiv.1301.1999,
  title  = {On Pairwise Spanners},
  author = {Marek Cygan and Fabrizio Grandoni and Telikepalli Kavitha},
  journal= {arXiv preprint arXiv:1301.1999},
  year   = {2013}
}

Comments

Full version of STACS 2013 paper; 13 pages, 2 figures

R2 v1 2026-06-21T23:06:55.926Z