NIST

nearest neighbor

(classic problem)

Definition: Find the point (rectangle, line, etc.) that is closest to another point.

See also spatial access method, point access method.

Author: PEB

Implementation

(C, C++, and Java)

More information

A Voronoi diagram divides a plane into regions of nearest neighbors.


Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul Black.

Entry modified 2 November 2020.
HTML page formatted Mon Nov 2 12:36:42 2020.

Cite this as:
Paul E. Black, "nearest neighbor", in Dictionary of Algorithms and Data Structures [online], Paul E. Black, ed. 2 November 2020. (accessed TODAY) Available from: https://www.nist.gov/dads/HTML/nearestNeighbor.html