An Output-Sensitive Convex Hull Algorithm for Planar Objects
نویسندگان
چکیده
A set of planar objects is said to be of type m if the convex hull of any two objects has its size bounded by 2m. In this paper, we present an algorithm based on the marriage-before-conquest paradigm to compute the convex hull of a set of n planar convex objects of xed type m. The algorithm is output-sensitive, i.e. its time complexity depends on the size h of the computed convex hull. The main ingredient of this algorithm is a linear method to nd a bridge, i.e. a facet of the convex hull intersected by a given line. We obtain an O(nn(h; m) log h)-time convex hull algorithm for planar objects. Here (h; 2) = O(1) and (h; m) is an extremely slowly growing function. As a direct consequence, we can compute in optimal (n log h) time the convex hull of disks, convex homothets, non-overlapping objects. The method described in this paper also applies to compute lower envelopes of functions. In particular, we obtain an optimal (n log h)-time algorithm to compute the upper envelope of line segments. Un algorithme adaptatif pour le calcul de l'enveloppe convexe d'objets planaires RRsumm : Un ensemble d'objets planaires est de type m si la taille de l'enveloppe convexe de deux objets est bornne par 2m. Dans ce rapport, nous prrsentons un algorithme bass sur le paradigme mariage-avant-conquute pour calculer l'enveloppe convexe d'un ensemble de n objets planaires de type m (m xx). L'algorithme est adaptatif, c'est-dire que son temps de calcul ddpend la fois de la taille des en-trres mais aussi de la taille de l'enveloppe convexe. Le principal ingrrdient de cet algorithme est une mmthode linnaire pour calculer un pont, c'est-dire une facette de l'enveloppe convexe coupant une droite donnne. Nous obtenons un algorithme dont la complexitt est O(nn(h; m) log h). Ici (h; 2) = O(1) et (h; m) est une fonction qui croit extrrmement lentement. Il en ddcoule que nous pouvons calcu-ler en temps optimal (n log h) l'enveloppe convexe de disques, d'objets convexes homothhtiques, d'objets non-recouvrants. La mmthode ddcrite dans ce papier peut s'appliquer galement au calcul de l'enveloppe suprieure de fonctions. En particu-lier, nous obtenons un algorithme optimal en (n log h) pour calculer l'enveloppe suprieure de segments.
منابع مشابه
On the Space Efficiency of the "Ultimate Planar Convex Hull Algorithm"
The output-sensitive “ultimate planar convex hull algorithm” of Kirkpatrick and Seidel [16] recently has been shown by Afshani et al. [1] to be instance-optimal. We revisit this algorithm with a focus on space-efficiency and prove that it can be implemented as an in-place algorithm, i.e., using O(1) working space.
متن کاملAdaptive Algorithms for Planar Convex Hull Problems
We study problems in computational geometry from the viewpoint of adaptive algorithms. Adaptive algorithms have been extensively studied for the sorting problem, and in this paper we generalize the framework to geometric problems. To this end, we think of geometric problems as permutation (or rearranging) problems of arrays, and define the “presortedness” as a distance from the input array to t...
متن کاملOn a Simple, Practical, Optimal, Output-Sensitive Randomized Planar Convex Hull Algorithm
In this paper we present a truly practical and provably optimal O(n logh) time output-sensitive algorithm for the planar convex hull problem. The basic algorithm is similar to the algorithm presented in Chan, Snoeyink and Yapp2] where the median-nding step is replaced by an approximate median. We analyze two such schemes and show that for both methods, the algorithm runs in expected O(n log h) ...
متن کاملIn-Place Planar Convex Hull Algorithms
An in-place algorithm is one in which the output is given in the same location as the input and only a small amount of additional memory is used by the algorithm. In this paper we describe three in-place algorithms for computing the convex hull of a planar point set. All three algorithms are optimal, some more so than others. . .
متن کاملAdaptive (Analysis of) Algorithms for Convex Hulls and Related Problems
Adaptive analysis is a well known technique in computational geometry, which re nes the traditional worst case analysis over all instances of xed input size by taking into account some other parameters, such as the size of the output in the case of output sensitive analysis. We present two adaptive techniques for the computation of the convex hull in two and three dimensions and related problem...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995