On the closest pair of points problem
Martin Hitz, Michaela Hitz

TL;DR
This paper presents two new algorithms for the closest pair of points problem, leveraging mathematical packing theory, with one achieving linear time for uniform distributions and both demonstrating superior empirical performance.
Contribution
Introduces two deterministic algorithms based on packing theory, with proven linear time for uniform distributions and fast empirical runtimes, improving over existing methods.
Findings
cppMM achieves O(n) time for uniform distributions
cppAPs has near-brute-force simplicity with fast empirical performance
cppMM outperforms other algorithms for large datasets
Abstract
We introduce two novel algorithms for the problem of finding the closest pair in a cloud of points based on findings from mathematical optimal packing theory. Both algorithms are deterministic, show fast effective runtimes, and are very easy to implement. For our main algorithm, cppMM, we prove time complexity for the case of uniformly distributed points. Our second algorithm, cppAPs, is almost as simple as the brute-force approach, but exhibits an extremely fast empirical running time, although its worst-case time complexity is also . We embed the new algorithms in a review of the most prominent contenders and empirically demonstrate their runtime behavior for problem sizes up to 33,554,432 points observed in our C++ test environment. For large , cppMM dominates the other algorithms under study.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptimization and Packing Problems · Complexity and Algorithms in Graphs · VLSI and FPGA Design Techniques
