### Abstract

The greedy spanner is a high-quality spanner: its total weight, edge count and maximal degree are asymptotically optimal and in practice significantly better than for any other spanner with reasonable construction time. Unfortunately, all known algorithms that compute the greedy spanner on n points use O(n^2) space, which is impractical on large instances. To the best of our knowledge, the largest instance for which the greedy spanner was computed so far has about 13,000 vertices. We present a linear-space algorithm that computes the same spanner for points in R^d running in O(n^2 log^2n) time for any fixed stretch factor and dimension. We discuss and evaluate a number of optimizations to its running time, which allowed us to compute the greedy spanner on a graph with a million vertices. To our knowledge, this is also the first algorithm for the greedy spanner with a near-quadratic running time guarantee that has actually been implemented.
Keywords: Geometric spanner; Dilation; Stretch factor; Greedy algorithm; Computational geometry

Original language | English |
---|---|

Pages (from-to) | 589-606 |

Journal | Algorithmica |

Volume | 73 |

Issue number | 3 |

DOIs | |

Publication status | Published - 2015 |

## Fingerprint Dive into the research topics of 'Computing the greedy spanner in linear space'. Together they form a unique fingerprint.

## Cite this

Alewijnse, S. P. A., Bouts, Q. W., ten Brink, A. P., & Buchin, K. (2015). Computing the greedy spanner in linear space.

*Algorithmica*,*73*(3), 589-606. https://doi.org/10.1007/s00453-015-0001-2