Improved weighted additive spanners

Michael Elkin, Yuval Gitlitz, Ofer Neiman

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations


Graph spanners and emulators are sparse structures that approximately preserve distances of the original graph. While there has been an extensive amount of work on additive spanners, so far little attention was given to weighted graphs. Only very recently [3] extended the classical +2 (respectively, +4) spanners for unweighted graphs of size O(n3/2) (resp., O(n7/5)) to the weighted setting, where the additive error is +2W (resp., +4W). This means that for every pair u, v, the additive stretch is at most +2Wu,v, where Wu,v is the maximal edge weight on the shortest u − v path (weights are normalized so that the minimum edge weight is 1). In addition, [3] showed a randomized algorithm yielding a +8Wmax spanner of size O(n4/3), here Wmax is the maximum edge weight in the entire graph. In this work we improve the latter result by devising a simple deterministic algorithm for a +(6 + ε)W spanner for weighted graphs with size O(n4/3) (for any constant ε > 0), thus nearly matching the classical +6 spanner of size O(n4/3) for unweighted graphs. Furthermore, we show a +(2 + ε)W subsetwise spanner of size O(n · p|S|), improving the +4Wmax result of [3] (that had the same size). We also show a simple randomized algorithm for a +4W emulator of size Õ(n4/3). In addition, we show that our technique is applicable for very sparse additive spanners, that have linear size. It is known that such spanners must suffer polynomially large stretch. For weighted graphs, we use a variant of our simple deterministic algorithm that yields a linear size +Õ(√n · W) spanner, and we also obtain a tradeoff between size and stretch. Finally, generalizing the technique of [12] for unweighted graphs, we devise an efficient randomized algorithm producing a +2W spanner for weighted graphs of size Õ(n3/2) in Õ(n2) time.

Original languageEnglish
Title of host publication35th International Symposium on Distributed Computing, DISC 2021
EditorsSeth Gilbert
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (Electronic)9783959772105
StatePublished - 1 Oct 2021
Event35th International Symposium on Distributed Computing, DISC 2021 - Virtual, Freiburg, Germany
Duration: 4 Oct 20218 Oct 2021

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
ISSN (Print)1868-8969


Conference35th International Symposium on Distributed Computing, DISC 2021
CityVirtual, Freiburg


  • Graph theory
  • Pure additive spanners

ASJC Scopus subject areas

  • Software

Cite this