Skip to content

Bichromatic Line-Centers for Point Pairs

Jaegun Lee, Youjung Bae, Taehoon Ahn, Sang Won Bae, Hee-Kap Ahn

cs.CG

Abstract

We study the \emph{bichromatic line-center problem} for nn pairs of points in the plane. A feasible solution assigns one point from each pair to the red set RR and the other to the blue set BB. The goal is to minimize max⁡{w∘(R), w∘(B)}\max\{w^\circ(R),\,w^\circ(B)\}, where w∘(X)w^\circ(X) denotes the minimum width of a strip enclosing XX; the midlines of the corresponding optimal strips define the line-centers of RR and BB. We consider several variants induced by orientational constraints on line-centers and provide efficient algorithms for each. For one line-center, which consists of computing a minimum-width strip that contains at least one point from each pair, we give an O(n2)O(n^2)-time algorithm. For two line-centers, we obtain an O(n)O(n)-time algorithm when both are horizontal, and Θ(nlog⁡n)Θ(n\log n)-time algorithms when the two centers are parallel or when both orientations are prescribed. When exactly one orientation is prescribed, we give an O(n2)O(n^2)-time algorithm. Finally, for the unrestricted case, we present an O(n3log⁡n)O(n^3\log n)-time algorithm.

Create a lesson