NNTrees c++ implementation of kdtree and octree, as well as knn search and radius search. clustering k-means, spectural, GMM spectural is good but cost much. A simple implementation for personal study. I take no responsible for possible problems.