Computational aspects of disks enclosing many points
arXiv:2601.20036
Abstract
Let be a set of points in the plane. We present several different algorithms for finding a pair of points in such that any disk that contains that pair must contain at least points of , for some constant . The first is a randomized algorithm that finds a pair in expected time for points in general position, and , for any . The second algorithm, also for points in general position, takes quadratic time, but the constant is improved to . The second algorithm can also be used as a subroutine to find the pair that maximizes the number of points inside any disk that contains the pair, in time. We also consider variants of the problem. When the set is in convex position, we present an algorithm that finds in linear time a pair of points such that any disk through them contains at least points of . For the variant where we are only interested in finding a pair such that the diametral disk of that pair contains many points, we also have a linear-time algorithm that finds a disk with at least points of . Finally, we present a generalization of the first two algorithms to the case where the set of points is coloured using two colours. We also consider adapting these algorithms to solve the same problems when is a set of points inside of a simple polygon , with the notion of a disk replaced by that of a geodesic disk.