GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Convex hull algorithms

Algorithms that construct convex hulls of various objects have a broad range of applications in mathematics and computer science. In computational geometry, numerous algorithms are proposed for computing the convex hull of a finite set of points, with various computational complexities. Computing the convex hull means that a non-ambiguous and efficient representation of the required convex shape is constructed. The complexity of the corresponding algorithms is usually estimated in terms of n, the number of input points, and sometimes also in terms of h, the number of points on the convex hull. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Algorithms that construct convex hulls of various objects have a broad range of applications in mathematics and computer science. In computational geometry, numerous algorithms are proposed for computing the convex hull of a finite set of points, with various computational complexities. Computing the convex hull means that a non-ambiguous and efficient representation of the required convex shape is constructed. The complexity of the corresponding algorithms is usually estimated in terms of n, the number of input points, and sometimes also in terms of h, the number of points on the convex hull. ===Lower bound on computational complexity=== For a finite set of points in the plane, the lower bound on the computational complexity of finding the convex hull represented as a convex polygon is easily shown to be the same as for sorting using the following reduction. For the set x_1,\dots,x_n numbers to sort consider the set (x_1, x^2_1),\dots,(x_n, x^2_n) of points in the plane. Since they lie on a parabola, which is a convex curve, it is easy to see that the vertices of the convex hull, when traversed along the boundary, produce the sorted order of the numbers x_1,\dots,x_n . Clearly, linear time is required for the described transformation of numbers into points and then extracting their sorted order. Therefore, in the general case the convex hull of n points cannot be computed more quickly than sorting. The standard \Omega(n \log n) lower bound for sorting is proven in the decision tree model of computing, in which only numerical comparisons but not arithmetic operations can be performed; however, in this model, convex hulls cannot be computed at all. Sorting also requires \Omega(n \log n) time in the algebraic decision tree model of computation, a model that is more suitable for convex hulls, and in this model convex hulls also require \Omega(n \log n) time. However, in models of computer arithmetic that allow numbers to be sorted more quickly than O(n \log n) time, for instance by using integer sorting algorithms, planar convex hulls can also be computed more quickly: the Graham scan algorithm for convex hulls consists of a single sorting step followed by a linear amount of additional work. As stated above, the complexity of finding a convex hull as a function of the input size n is lower bounded by \Omega(n \log n) . However, the complexity of some convex hull algorithms can be characterized in terms of both input size n and the output size h (the number of points in the hull). Such algorithms are called output-sensitive algorithms. They may be asymptotically more efficient than \Theta(n \log n) algorithms in cases when h = o(n) . The lower bound on worst-case running time of output-sensitive convex hull algorithms was established to be \Omega(n \log h) in the planar case. There are several algorithms which attain this optimal time complexity. The earliest one was introduced by Kirkpatrick and Seidel in 1986 (who called it "the ultimate convex hull algorithm"). A much simpler algorithm was developed by Chan in 1996, and is called Chan's algorithm. ===On-line and dynamic convex hull problems=== The discussion above considers the case when all input points are known in advance. One may consider two other settings. Online convex hull problem: Input points are obtained sequentially one by one. After each point arrives on input, the convex hull for the pointset obtained so far must be efficiently computed. Dynamic convex hull maintenance: The input points may be sequentially inserted or deleted, and the convex hull must be updated after each insert/delete operation. Insertion of a point may increase the number of vertices of a convex hull at most by 1, while deletion may convert an n-vertex convex hull into an n-1-vertex one. The online version may be handled with O(log n) per point, which is asymptotically optimal. The dynamic version may be handled with O(log 2 n) per operation. ==See also== Orthogonal convex hull ==References== ==Further reading== Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein. Introduction to Algorithms, Second Edition. MIT Press and McGraw-Hill, 2001. . Section 33.3: Finding the convex hull, pp. 947–957. Franco P. Preparata, S.J. Hong. Convex Hulls of Finite Sets of Points in Two and Three Dimensions, Commun. ACM, vol. 20, no. 2, pp. 87–93, 1977. Section 1.1: An Example: Convex Hulls (describes classical algorithms for 2-dimensional convex hulls). Chapter 11: Convex Hulls: pp. 235–250 (describes a randomized algorithm for 3-dimensional convex hulls due to Clarkson and Shor). ==External links== 2D, 3D, and dD Convex Hull in CGAL, the Computational Geometry Algorithms Library Qhull code for Convex Hull, Delaunay Triangulation, Voronoi Diagram, and Halfspace Intersection Demo as Flash swf, Jarvis, Graham, Quick (divide and conquer) and Chan algorithms Gift wrapping algorithm in C#

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Convex hull algorithms". 1782024170. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1360407100

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·