Greedy geometric spanner
In computational geometry, a greedy geometric spanner is an undirected graph whose distances approximate the Euclidean distances among a finite set of points in a Euclidean space. The vertices of the graph represent these points. The edges of the spanner are selected by a greedy algorithm that includes an edge whenever its two endpoints are not connected by a short path of shorter edges. The greedy spanner was first described in the PhD thesis of Gautam Das[1] and conference paper[2] and subsequent journal paper by Ingo Althöfer et al.[3] These sources also credited Marshall Bern (unpublished) with the independent discovery of the same construction.
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.[4]
Construction
The greedy geometric spanner is determined from an input consisting a set of points and a parameter [math]\displaystyle{ t\ge 1 }[/math]. The goal is to construct a graph whose shortest path distances are at most [math]\displaystyle{ t }[/math] 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 [math]\displaystyle{ (u,v) }[/math] of points, the algorithm tests whether the graph constructed so far already contains a path from [math]\displaystyle{ u }[/math] to [math]\displaystyle{ v }[/math] with length at most [math]\displaystyle{ t\cdot d(u,v) }[/math]. If not, the edge [math]\displaystyle{ uv }[/math] with length [math]\displaystyle{ d(u,v) }[/math] is added to the graph. By construction, the resulting graph is a geometric spanner with stretch factor at most [math]\displaystyle{ t }[/math].[3]
A naive implementation of this method would take time [math]\displaystyle{ O(n^3\log n) }[/math] on inputs with [math]\displaystyle{ n }[/math] points. This is because the considerations for each of the [math]\displaystyle{ O(n^2) }[/math] pairs of points involve an instance of Dijkstra's algorithm to find a shortest path in a graph with [math]\displaystyle{ O(n) }[/math] edges. It uses [math]\displaystyle{ O(n^2) }[/math] space to store the sorted list of pairs of points. More careful algorithms can construct the same graph in time [math]\displaystyle{ O(n^2\log n) }[/math],[5] or in space [math]\displaystyle{ O(n) }[/math].[6] A construction for a variant of the greedy spanner that uses graph clustering to quickly approximate the graph distances runs in time [math]\displaystyle{ O(n\log n) }[/math] in Euclidean spaces of any bounded dimension, and can produce spanners with (approximately) the same properties as the greedy spanners.[7][8] The same method can be extended to spaces with bounded doubling dimension.[4]
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.[4]
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 [math]\displaystyle{ t }[/math] is large enough (e.g. [math]\displaystyle{ t\gt n }[/math], where [math]\displaystyle{ n }[/math] is the number of vertices in the graph) the two algorithms produce the same output.[3]
In Euclidean spaces of bounded dimension, for any constant [math]\displaystyle{ t }[/math], the greedy geometric [math]\displaystyle{ t }[/math]-spanners on sets of [math]\displaystyle{ n }[/math] points have bounded degree, implying that they also have [math]\displaystyle{ O(n) }[/math] edges.[9][10][7] 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.[4][11][12] However, in such spaces the number of edges is still [math]\displaystyle{ O(n) }[/math].[4]
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.[9][10][7] This property remains true in spaces of bounded doubling dimension.[4]
References
- ↑ Approximation Schemes in Computational Geometry, University of Wisconsin, 1990, OCLC 22935858, http://worldcat.org/oclc/22935858
- ↑ "Generating sparse spanners for weighted graphs", SWAT 90 (Berlin, Heidelberg: Springer Berlin Heidelberg): pp. 26–37, 1990, doi:10.1007/3-540-52846-6_75, ISBN 978-3-540-52846-3, http://dx.doi.org/10.1007/3-540-52846-6_75, retrieved 2021-03-16
- ↑ 3.0 3.1 3.2 "On sparse spanners of weighted graphs", Discrete & Computational Geometry 9 (1): 81–100, 1993, doi:10.1007/BF02189308
- ↑ 4.0 4.1 4.2 4.3 4.4 4.5 Filtser, Arnold; Solomon, Shay (2016), "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, doi:10.1145/2933057.2933114
- ↑ "Computing the greedy spanner in near-quadratic time", Algorithmica 58 (3): 711–729, 2010, doi:10.1007/s00453-009-9293-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, doi:10.1007/s00453-015-0001-2
- ↑ 7.0 7.1 7.2 "A fast algorithm for constructing sparse Euclidean spanners", International Journal of Computational Geometry and Applications 7 (4): 297–315, 1997, doi:10.1142/S0218195997000193
- ↑ 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
- ↑ 9.0 9.1 Chandra, Barun (1995), "New sparseness results on graph spanners", International Journal of Computational Geometry and Applications 5 (1–2): 125–144, doi:10.1142/S0218195995000088
- ↑ 10.0 10.1 "Optimally sparse spanners in 3-dimensional Euclidean space", Proceedings of the Ninth Annual Symposium on Computational Geometry (SoCG '93), New York, NY, USA: ACM, 1993, pp. 53–62, doi:10.1145/160985.160998
- ↑ "Fast construction of nets in low-dimensional metrics and their applications", SIAM Journal on Computing 35 (5): 1148–1184, 2006, doi:10.1137/S0097539704446281
- ↑ Smid, Michiel H. M. (2009), "The weak gap property in metric spaces of bounded doubling dimension", 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
Original source: https://en.wikipedia.org/wiki/Greedy geometric spanner.
Read more |