Greedy geometric spanner

In computational geometry, a greedy geometric spanner is an undirected graph whose vertices represent points in a Euclidean space, and whose edges are selected by a greedy algorithm to make the shortest path distances in the graph (with edges weighted by length) approximate the Euclidean distances between pairs of points. The construction of greedy spanners was first published by Althöfer et al. in 1993; their paper also credited Marshall Bern (unpublished) with the independent discovery of the same construction.[1]

Greedy geometric spanner of 100 random points with stretch factor t = 2
Greedy geometric spanner of the same points with stretch factor t = 1.1

Greedy geometric spanners have bounded degree, a linear total number of edges, and total weight close to that of the Euclidean minimum spanning tree. Although known construction methods for them are slow, fast approximation algorithms with similar properties are known.[2]

Construction

The greedy geometric spanner is determined from an input consisting a set of points and a parameter . The goal is to construct a graph whose shortest path distances are at most times the geometric distances between pairs of points. It may be constructed by a greedy algorithm that adds edges one at a time to the graph, starting from an edgeless graph with the points as its vertices. All pairs of points are considered, in sorted (ascending) order by their distances, starting with the closest pair. For each pair of points, the algorithm tests whether the graph constructed so far already contains a path from to with length at most . If not, the edge with length is added to the graph. By construction, the resulting graph is a geometric spanner with stretch factor at most .[1]

A naive implementation of this method would take time on inputs with points. This is because the considerations for each of the pairs of points involve an instance of Dijkstra's algorithm to find a shortest path in a graph with edges. It uses space to store the sorted list of pairs of points. More careful algorithms can construct the same graph in time ,[3] or in space .[4] A construction for a variant of the greedy spanner that uses graph clustering to quickly approximate the graph distances runs in time in Euclidean spaces of any bounded dimension, and can produce spanners with (approximately) the same properties as the greedy spanners.[5][6] The same method can be extended to spaces with bounded doubling dimension.[2]

Properties

The same greedy construction produces spanners in arbitrary metric spaces, but in Euclidean spaces it has good properties some of which do not hold more generally.[2]

The greedy geometric spanner in any metric space always contains the minimum spanning tree of its input, because the greedy construction algorithm follows the same insertion order of edges as Kruskal's algorithm for minimum spanning trees. If the greedy spanner algorithm and Kruskal's algorithm are run in parallel, considering the same pairs of vertices in the same order, each edge added by Kruskal's algorithm will also be added by the greedy spanner algorithm, because the endpoints of the edge will not already be connected by a path. In the limiting case when is large enough (e.g. , where is the number of vertices in the graph) the two algorithms produce the same output.[1]

In Euclidean spaces of bounded dimension, for any constant , the greedy geometric -spanners on sets of points have bounded degree, implying that they also have edges.[7][8][5] This property does not extend even to well-behaved metric spaces: there exist spaces with bounded doubling dimension where the greedy spanner has unbounded vertex degree.[2][9][10] However, in such spaces the number of edges is still .[2]

Greedy geometric spanners in bounded-dimension Euclidean spaces also have total weight at most a constant times the total weight of the Euclidean minimum spanning tree.[7][8][5] This property remains true in spaces of bounded doubling dimension.[2]

gollark: *note: this is a rather stupid idea*
gollark: * print
gollark: I think it'd just not send any.
gollark: Well, unauthenticated lookup by ID.
gollark: Of course, rednet is not great, and neither is lookup by ID.

References

  1. Althöfer, Ingo; Das, Gautam; Dobkin, David; Joseph, Deborah; Soares, José (1993), "On sparse spanners of weighted graphs", Discrete & Computational Geometry, 9 (1): 81–100, doi:10.1007/BF02189308, MR 1184695
  2. Filtser, Arnold; Solomon, Shay, "The greedy spanner is existentially optimal", Proceedings of the 2016 ACM Symposium on Principles of Distributed Computing (PODC '16), New York, NY, USA: ACM, pp. 9–17, arXiv:1605.06852, doi:10.1145/2933057.2933114
  3. Bose, Prosenjit; Carmi, Paz; Farshi, Mohammad; Maheshwari, Anil; Smid, Michiel (2010), "Computing the greedy spanner in near-quadratic time", Algorithmica, 58 (3): 711–729, doi:10.1007/s00453-009-9293-4, MR 2672477
  4. Alewijnse, Sander P. A.; Bouts, Quirijn W.; ten Brink, Alex P.; Buchin, Kevin (2015), "Computing the greedy spanner in linear space", Algorithmica, 73 (3): 589–606, arXiv:1306.4919, doi:10.1007/s00453-015-0001-2, MR 3411749
  5. Das, Gautam; Narasimhan, Giri (1997), "A fast algorithm for constructing sparse Euclidean spanners", International Journal of Computational Geometry and Applications, 7 (4): 297–315, doi:10.1142/S0218195997000193, MR 1460840
  6. Gudmundsson, Joachim; Levcopoulos, Christos; Narasimhan, Giri (2002), "Fast greedy algorithms for constructing sparse geometric spanners", SIAM Journal on Computing, 31 (5): 1479–1500, doi:10.1137/S0097539700382947, MR 1936655
  7. Chandra, Barun; Das, Gautam; Narasimhan, Giri; Soares, José (1995), "New sparseness results on graph spanners", International Journal of Computational Geometry and Applications, 5 (1–2): 125–144, doi:10.1142/S0218195995000088, MR 1331179
  8. Das, Gautam; Heffernan, Paul; Narasimhan, Giri (1993), "Optimally sparse spanners in 3-dimensional Euclidean space", Proceedings of the Ninth Annual Symposium on Computational Geometry (SoCG '93), New York, NY, USA: ACM, pp. 53–62, doi:10.1145/160985.160998
  9. Har-Peled, Sariel; Mendel, Manor (2006), "Fast construction of nets in low-dimensional metrics and their applications", SIAM Journal on Computing, 35 (5): 1148–1184, doi:10.1137/S0097539704446281, MR 2217141
  10. Smid, Michiel H. M. (2009), "The weak gap property in metric spaces of bounded doubling dimension", in Albers, Susanne; Alt, Helmut; Näher, Stefan (eds.), Efficient Algorithms: Essays Dedicated to Kurt Mehlhorn on the Occasion of His 60th Birthday, Lecture Notes in Computer Science, 5760, Springer, pp. 275–289, doi:10.1007/978-3-642-03456-5_19
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.