A Simple Convex Layers Algorithm
Abstract
Given a set of n points P in the plane, the first layer L1 of P is formed by the points that appear on P's convex hull. In general, a point belongs to layer Li, if it lies on the convex hull of the set P j<i\Lj\. The convex layers problem is to compute the convex layers Li. Existing algorithms for this problem either do not achieve the optimal O(n n) runtime and linear space, or are overly complex and difficult to apply in practice. We propose a new algorithm that is both optimal and simple. The simplicity is achieved by independently computing four sets of monotone convex chains in O(n n) time and linear space. These are then merged in O(n n) time.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.