← All papers
First page of On a unit ball placement problem: covering the most points in fixed dimension

On a unit ball placement problem: covering the most points in fixed dimension

Krišjānis Petručeņa

cs.CG Nov 30, 2026 · v1 cs.DS
Companion software includes Lean proofs of correctness for the finite-candidate search and its use in unweighted 3D unit-ball placement.
For $N$ distinct sites in fixed dimension $D\ge 2$, we give a deterministic algorithm that places a closed unit ball covering the most sites. It returns the centre, count and all covered indices in $O_D(N^D)$ time and $O_D(N)$ extra words on an exact real random-access machine. The same bounds hold for maximizing the sum of nonnegative weights of covered sites. For $D\ge 3$, we search two-spheres of possible centres determined by $D-2$ sites on the ball boundary. Each site gives a cap of centres whose ball covers it. To find a point where the covering caps have maximum total weight, we use stereographic projection and at most two planar searches over weighted closed disks and their closed exteriors. For $m$ circles of arbitrary positive radii, each planar search takes $O(m^2)$ time and $O(m)$ extra words. A linear-time reduction shows that any fixed saving in the exponent $D$ for deterministic placement would carry over to deciding whether $D+1$ of $N$ distinct integer points lie on a common hyperplane.

Given N distinct sites in fixed dimension D≥2, place a closed unit ball covering the maximum number of sites, or the maximum total nonnegative weight of covered sites, using deterministic algorithms with small time and space bounds.

For D≥3, the algorithm searches two-spheres of candidate centres determined by D−2 sites on the ball boundary. Each site contributes a cap of centres whose ball covers it. Stereographic projection reduces finding a maximum-weight point in these caps to at most two planar searches over weighted closed disks and their exteriors, each running in O(m^2) time for m circles. A Lean development formalizes the direct finite-candidate search and its use in unweighted 3D placement.

The algorithm runs in O_D(N^D) time with O_D(N) extra words on an exact real RAM, and the same bounds hold in the weighted case. A linear-time reduction shows that any fixed saving in the exponent D would carry over to deciding whether D+1 of N integer points lie on a common hyperplane.