libnabo is a fast K Nearset Neighbor library for low-dimensional spaces. It provides a clean, legacy-free, scalar-type–agnostic API thanks to C++ templates. Its current CPU implementation is strongly inspired by ANN, but with more compact data types. On the average, libnabo is 20% faster than ANN.
libnabo uses CMake as build system. Just create a directory, go inside it and type:
LIBNABO_SRC_DIR is the top-level directory of libnabo's sources.
The distribution of libnabo integrates a unit test module, based on CTest. Just type:
...in the build directory to run the tests.
Their outputs are available in the
If ANN is detected when compiling libnabo, benchmarking will be available