Skip to content

Creates a symbol-table data type whose keys are two-dimensional points to support efficient range search and nearest neighbor search

Notifications You must be signed in to change notification settings

vickiwyang/kdtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

kdtree

Creates a symbol-table data type whose keys are two-dimensional points to support efficient range search and nearest neighbor search (NNS).

PointST.java is a brute-force range search and NNS implementation that uses a red-black binary search tree.

KdTreeST.java implements range search and NNS using a 2-d tree. This implementation is much faster than PointST: in a trial run, KdTreeST made over 317,000 calls per second to nearest(), compared to just 8 calls per second for PointST.

About

Creates a symbol-table data type whose keys are two-dimensional points to support efficient range search and nearest neighbor search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages