Computing the greedy spanner in near-quadratic time

Prosenjit Bose, Paz Carmi, Mohammad Farshi, Anil Maheshwari, Michiel Smid

Research output: Contribution to journalArticlepeer-review

27 Scopus citations


The greedy algorithm produces high-quality spanners and, therefore, is used in several applications. However, even for points in d-dimensional Euclidean space, the greedy algorithm has near-cubic running time. In this paper, we present an algorithm that computes the greedy spanner for a set of n points in a metric space with bounded doubling dimension in O(n 2log n) time. Since computing the greedy spanner has an Ω(n 2) lower bound, the time complexity of our algorithm is optimal within a logarithmic factor.

Original languageEnglish
Pages (from-to)711-729
Number of pages19
Issue number3
StatePublished - 1 Nov 2010
Externally publishedYes


  • Dilation
  • Doubling dimension
  • Greedy algorithm
  • Spanner
  • Stretch factor

ASJC Scopus subject areas

  • General Computer Science
  • Computer Science Applications
  • Applied Mathematics


Dive into the research topics of 'Computing the greedy spanner in near-quadratic time'. Together they form a unique fingerprint.

Cite this