Abstract
In this paper we give an optimal algorithm for constructing the convex hull of a partially sorted set S of n points in R 2. Specifically, we assume S is represented as the union of a collection of non-empty subsets S 0, S 1, S 2,…, S m , where the x-coordinate of each point in S i is smaller than the x-coordinate of any point in S j if i < j. Our method runs in O( n log h max) time, where h max is the maximum number of hull edges incident on the points of any single subset S i . In fact, if one is only interested in finding the hull edges that ‘bridge’ different subsets, then our method runs in O( n) time.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.