Dynamic Ham-Sandwich Cuts for Two Overlapping Point Sets
نویسندگان
چکیده
We provide an efficient data structure for dynamically maintaining a ham-sandwich cut of two overlapping point sets in convex position in the plane. The ham-sandwich cut of S1 and S2 is a line that simultaneously bisects the area, perimeter or vertex count of both point sets. Our algorithm supports insertion and deletion of vertices in O(log n) time, and area, perimeter and vertex-count queries in O(log n) time, where n is the total number of points of S1 ∪ S2. An extension of the algorithm for sets with a bounded number c of convex hull peeling layers enables area and perimeter queries, using O(c log n) time for insertions and deletions and O(log n) query time. Our algorithm improves previous results [15, 1]. The static method of Stojmenović [15] and the dynamic algorithm of Abbott et al. [1] maintain a ham-sandwich cut of two disjoint convex polygons in the plane. Our dynamic algorithm removes the restrictions based on the separation of the points. It also solves an open problem from 1991 about finding the area and perimeter ham-sandwich cuts for overlapping convex point sets in the static setting [15].
منابع مشابه
Dynamic Ham-Sandwich Cuts for Two Point Sets with Bounded Convex-Hull-Peeling Depth
We provide an efficient data structure for dynamically maintaining a ham-sandwich cut of two (possibly overlapping) point sets in the plane, with a bounded number of convex-hull peeling layers. The ham-sandwich cut of S1 and S2 is a line that simultaneously bisects the area, perimeter or vertex count of both point sets. Our algorithm supports insertion and deletion of vertices in O(c log n) tim...
متن کاملDynamic Ham-Sandwich Cuts of Convex Polygons in the Plane
We provide an efficient data structure for dynamically maintaining a ham-sandwich cut of two nonoverlapping convex polygons in the plane. Given two non-overlapping convex polygons P1 and P2 in the plane, the ham-sandwich cut of P1 and P2 is a line that simultaneously bisects the area (or perimeter or vertex count) of both polygons. We provide a data structure that supports queries for the ham-s...
متن کاملDynamic ham-sandwich cuts in the plane
We design efficient data structures for dynamically maintaining a ham-sandwich cut of two point sets in the plane subject to insertions and deletions of points in either set. A hamsandwich cut is a line that simultaneously bisects the cardinality of both point sets. For general point sets, our first data structure supports each operation in O(n) amortized time and O(n) space. Our second data st...
متن کاملWeighted Ham-Sandwich Cuts
Let R and B be two sets of n points. A ham-sandwich cut is a line that simultaneously bisects R and B, and is known to always exist. This notion can be generalized to the case where each point p ∈ R ∪ B is associated with a weight wp. A ham-sandwich cut can still be proved to exist, even if weights are allowed to be negative. In this paper, we present a O(n logn) algorithm to find a weighted ha...
متن کاملGeneralized Ham-Sandwich Cuts for Well Separated Point Sets
Bárány, Hubard, and Jerónimo recently showed that for given well separated convex bodies S1, . . . , Sd in R and constants βi ∈ [0, 1], there exists a unique hyperplane h with the property that Vol(h ∩Si) = βi·Vol(Si); h is the closed positive transversal halfspace of h, and h is a “generalized ham-sandwich cut”. We give a discrete analogue for a set S of n points in R which is partitioned into...
متن کامل