词条 | Euclidean minimum spanning tree |
释义 |
The Euclidean minimum spanning tree or EMST is a minimum spanning tree of a set of n points in the plane (or more generally in ℝd), where the weight of the edge between each pair of points is the Euclidean distance between those two points. In simpler terms, an EMST connects a set of dots using lines such that the total length of all the lines is minimized and any dot can be reached from any other by following the lines. In the plane, an EMST for a given set of points may be found in Θ(n log n) time using O(n) space in the algebraic decision tree model of computation. Faster randomized algorithms of complexity O(n log log n) are known in more powerful models of computation that more accurately model the abilities of real computers.[1] In higher dimensions (d ≥ 3), finding an optimal algorithm remains an open problem. Lower boundAn asymptotic lower bound of Ω(n log n) for time complexity of the EMST problem can be established in restricted models of computation, such as the algebraic decision tree and algebraic computation tree models, in which the algorithm has access to the input points only through certain restricted primitives that perform simple algebraic computations on their coordinates: in these models, the closest pair of points problem requires Ω(n log n) time, but the closest pair is necessarily an edge of the EMST, so the EMST also requires this much time.[2] However, if the input points have integer coordinates and bitwise operations and table indexing operations are permitted using those coordinates, then faster algorithms are possible.[1] Algorithms for computing EMSTs in two dimensionsThe simplest algorithm to find an EMST in two dimensions, given n points, is to actually construct the complete graph on n vertices, which has n(n-1)/2 edges, compute each edge weight by finding the distance between each pair of points, and then run a standard minimum spanning tree algorithm (such as the version of Prim's algorithm or Kruskal's algorithm) on it. Since this graph has Θ(n2) edges for n distinct points, constructing it already requires Ω(n2) time. This solution also requires Ω(n2) space to store all the edges. A better approach to finding the EMST in a plane is to note that it is a subgraph of every Delaunay triangulation of the n points, a much-reduced set of edges:
The final result is an algorithm taking O(n log n) time and O(n) space. If the input coordinates are integers and can be used as array indices, faster algorithms are possible: the Delaunay triangulation can be constructed by a randomized algorithm in O(n log log n) expected time.[1] Additionally, since the Delaunay triangulation is a planar graph, its minimum spanning tree can be found in linear time by a variant of Borůvka's algorithm that removes all but the cheapest edge between each pair of components after each stage of the algorithm.[3] Therefore, the total expected time for this algorithm is O(n log log n).[1] Higher dimensionsThe problem can also be generalized to n points in the d-dimensional space ℝd. In higher dimensions, the connectivity determined by the Delaunay triangulation (which, likewise, partitions the convex hull into d-dimensional simplices) contains the minimum spanning tree; however, the triangulation might contain the complete graph.[7] Therefore, finding the Euclidean minimum spanning tree as a spanning tree of the complete graph or as a spanning tree of the Delaunay triangulation both take O(dn2) time. For three dimensions it is possible to find the minimum spanning tree in time O((n log n)4/3), and in any dimension greater than three it is possible to solve it in a time that is faster than the quadratic time bound for the complete graph and Delaunay triangulation algorithms.[4] For uniformly random point sets it is possible to compute minimum spanning trees as quickly as sorting.[5] Using a well-separated pair decomposition, it is possible to produce a (1+ε)-approximation in O(n log n) time.[6] Subtree of Delaunay triangulationAll edges of an EMST are edges of a relative neighborhood graph,[7][8][9] which in turn are edges of a Gabriel graph, which are edges in a Delaunay triangulation of the points,[10][11] as can be proven via the equivalent contrapositive statement: every edge not in a Delaunay triangulation is also not in any EMST. The proof is based on two properties of minimum spanning trees and Delaunay triangulations:
Consider an edge e between two input points p and q which is not an edge of a Delaunay triangulation. Property 2 implies that the circle C with e as its diameter must contain some other point r inside. But then r is closer to both p and q than they are to each other, and so the edge from p to q is the longest edge in the cycle of points p → q → r → p, and by property 1 e is not in any EMST. {{-}}Expected sizeThe expected size of the EMST for large numbers of points has been determined by J. Michael Steele.[12] If is the density of the probability function for picking points, then for large and the size of the EMST is approximately where is a constant depending only on the dimension . The exact value of the constants are unknown but can be estimated from empirical evidence. ApplicationsAn obvious application of Euclidean minimum spanning trees is to find the cheapest network of wires or pipes to connect a set of places, assuming the links cost a fixed amount per unit length. However, while these give an absolute lower bound on the amount of connection needed, most such networks prefer a k-connected graph to a tree, so that failure of an any individual link will not split the network into parts. Another application of EMSTs is a constant-factor approximation algorithm for approximately solving the Euclidean traveling salesman problem, the version of the traveling salesman problem on a set of points in the plane with edges labelled by their length. This realistic variation of the problem can be solved within a factor of 2 by computing the EMST, doing a walk along its boundary which outlines the entire tree, and then removing all but one occurrence of each vertex from this walk. Planar realizationThe realization problem for Euclidean minimum spanning trees is stated as follows: Given a tree T = (V, E), find a location D(u) for each vertex u ∈ V so that T is a minimum spanning tree of D(u): u ∈ V, or determine that no such locations exist. Testing of the existence of a realization in the plane is NP-hard.[13] See also
References1. ^1 2 3 {{cite conference | last1 = Buchin | first1 = Kevin | last2 = Mulzer | first2 = Wolfgang | title = Delaunay triangulations in O(sort(n)) time and more | doi = 10.1109/FOCS.2009.53 | pages = 139–148 | conference = Proc. 50th IEEE Symposium on Foundations of Computer Science | url = https://page.mi.fu-berlin.de/mulzer/pubs/wramdtFOCS.pdf | year = 2009}}. * Smith College: The Open Problems Project: Problem 5: Euclidean Minimum Spanning Tree2. ^{{citation | last = Yao | first = A. C.-C. | author-link = Andrew Yao | contribution = Lower bounds for algebraic computation trees with integer inputs | doi = 10.1109/SFCS.1989.63495 | pages = 308–313 | title = Proc. 30th Annual Symposium on Foundations of Computer Science (FOCS 1989) | year = 1989}}. 3. ^{{citation|last=Eppstein|first=David|authorlink=David Eppstein|contribution=Spanning trees and spanners|title=Handbook of Computational Geometry|editor1-first=J.-R.|editor1-last=Sack|editor1-link=Jörg-Rüdiger Sack|editor2-first=J.|editor2-last=Urrutia|editor2-link=Jorge Urrutia Galicia|publisher=Elsevier|year=1999|pages=425–461}}; {{citation|last=Mareš|first=Martin|title=Two linear time algorithms for MST on minor closed graph classes|journal=Archivum mathematicum|volume=40|year=2004|issue=3|pages=315–320|url=http://www.emis.de/journals/AM/04-3/am1139.pdf}}. 4. ^1 {{citation | last1 = Agarwal | first1 = P. K. | author1-link = Pankaj K. Agarwal | last2 = Edelsbrunner | first2 = H. | author2-link = Herbert Edelsbrunner | last3 = Schwarzkopf | first3 = O. | last4 = Welzl | first4 = E. | author4-link = Emo Welzl | doi = 10.1007/BF02574698 | issue = 1 | journal = Discrete and Computational Geometry | pages = 407–422 | publisher = Springer | title = Euclidean minimum spanning trees and bichromatic closest pairs | volume = 6 | year = 1991}}. 5. ^{{citation | last1 = Chatterjee | first1 = S. | last2 = Connor | first2 = M. | last3 = Kumar | first3 = P. | contribution = Geometric minimum spanning trees with GeoFilterKruskal | editor-first= Paola | editor-last = Festa | title = Symposium on Experimental Algorithms | volume = 6049 | series = Lecture Notes in Computer Science | publisher = Springer-Verlag | year = 2010 | pages = 486–500 | doi = 10.1007/978-3-642-13193-6_41}}. 6. ^{{cite web | url=http://people.scs.carleton.ca/~michiel/aa-handbook.pdf | title=The well-separated pair decomposition and its applications | date=16 August 2005 | accessdate=26 March 2014 | author=Smid, Michiel}} 7. ^Jerzy W. Jaromczyk and Godfried T. Toussaint, "Relative neighborhood graphs and their relatives," Proceedings of the IEEE, Vol. 80, No. 9, September 1992, pp. 1502–1517. 8. ^Godfried T. Toussaint, "Comment on algorithms for computing relative neighborhood graph," Electronics Letters, Vol. 16, No. 22, October 1981, pp. 860–861. 9. ^Godfried T. Toussaint, "The relative neighborhood graph of a finite planar set," Pattern Recognition, Vol. 12, 1980, pp. 261–268. 10. ^Robert Pless. Lecture 17: Voronoi Diagrams and Delauney Triangulations. Spring 2003, Computational Geometry Class Page. Associate Professor of Computer Science and Engineering at Washington University. http://www.cs.wustl.edu/~pless/506/l17.html 11. ^Robert Sedgewick and Kevin Wayne. Minimum Spanning Tree lecture notes. Computer Science 226: Algorithms & Data Structures, Spring 2007. Princeton University. http://www.cs.princeton.edu/courses/archive/spr07/cos226/lectures/19MST.pdf 12. ^{{cite journal |last=Steele |first=J. Michael |date=1988 |title=Growth rates of Euclidean minimum spanning trees with power weighted edges |url=http://www-stat.wharton.upenn.edu/~steele/Publications/PDF/Steele88a%20.pdf |journal=The Annals of Probability |volume=16 |issue=4 |pages=1767–1787 |doi=10.1214/aop/1176991596}} 13. ^{{citation|contribution=The realization problem for Euclidean minimum spanning trees is NP-hard|year=1994|first1=Peter|last1=Eades|author1-link=Peter Eades|first2=Sue|last2=Whitesides|author2-link=Sue Whitesides|title=Proc. 10th ACM Symposium on Computational Geometry|pages=49–56|doi=10.1145/177424.177507}}.
2 : Spanning tree|Geometric graphs |
随便看 |
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。