KDTREE 2: Fortran 95 and C++ software to efficiently search for near neighbors in a multi-dimensional Euclidean space
Matthew B. Kennel

TL;DR
KDTREE2 is a highly efficient Fortran 95 and C++ software library for fast nearest neighbor searches in multi-dimensional Euclidean spaces, optimized for large datasets and high-dimensional problems.
Contribution
It introduces architectural and algorithmic improvements that significantly enhance search efficiency and scalability over previous versions.
Findings
Up to tenfold increase in computational speed.
Effective pruning reduces unnecessary search paths.
Optimized for large, high-dimensional datasets.
Abstract
Many data-based statistical algorithms require that one find \textit{near or nearest neighbors} to a given vector among a set of points in that vector space, usually with Euclidean topology. The k-d data structure and search algorithms are the generalization of classical binary search trees to higher dimensional spaces, so that one may locate near neighbors to an example vector in time instead of the brute-force O(N) time, with being the size of the data base. KDTREE2 is a Fortran 95 module, and a parallel set of C++ classes which implement tree construction and search routines to find either a set of nearest neighbors to an example, or all the neighbors within some Euclidean distance The two versions are independent and function fully on their own. Considerable care has been taken in the implementation of the search methods, resulting in substantially higher…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRobotics and Automated Systems
