首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 一个C++模板的通用的缓存意识的KD树。

一个C++模板的通用的缓存意识的KD树。

资 源 简 介

Kche-tree is a set of C++ templates for generic cache-aware and non-mutable kd-trees. Its main purpose is to provide an easy to use but powerful implementation of the typical kd-tree structure functionality with very low latencies. It provides the following basic operations: * Build: create a kd-tree from a training set of feature vectors. Median splitting is used to keep the tree balanced. Cost: O(n log² n). * K nearest neighbours: retrieve the K nearest neighbours of a given feature vector. Estimated average cost: O(log K log n). * All neighbours within a range: retrieve all the neighbours inside a maximum distance radius from a given feature vector. Estimated average cost: O(log m log n) with m the number of neighbours in the range. The template has been designed to minimize the number of cache misses combined with many algorithmic techniques and ideas. Here are some of its features: * Can dynamically def

文 件 列 表

kche-tree_0.3
doc
doxygen.conf
example.cpp
feature_vector.cpp
feature_vector.h
indirect_heap.cpp
indirect_heap.h
k-heap.cpp
k-heap.h
k-vector.cpp
k-vector.h
kd-tree.cpp
kd-tree.h
kd-tree_io.cpp
kd-tree_sse_24d.h
LICENSE
Makefile
speed_kdtree.cpp
test_kdtree.cpp

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP