Projects / libkdtree++

libkdtree++

libkdtree++ is a C++ template container implementation of k-dimensional space sorting, using a kd-tree. It sports a theoretically unlimited number of dimensions, and can store any data structure. Provided the data structure, it provides operator[0 - k-1] to access the individual dimensional components (arrays, std::vector already do) and a std::less implementation for the type of dimensional components. It has support for custom allocators, implements iterators, and provides standard find as well as range queries. It has amortised O(lg n) time (O(n lg n) worst case) on most operations (insert/erase/find optimised) and worst-case O(n) space, and also provides a means to rebalance and thus optimise the tree.

Tags Games/Entertainment Scientific/Engineering Artificial Intelligence Mathematics Software Development Libraries
Licenses Artistic
Operating Systems OS Independent
Implementation C++

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  06 Mar 2008 01:39
  • Rrelease-after

No changes have been submitted for this release.

  • Rrelease-mid
  •  15 Nov 2004 12:17
  • Rrelease-after

Changes: The code was cleaned up to support GCC 3.4 and 4.0pre0.

  • Rrelease-mid
  •  15 Nov 2004 04:02
  • Rrelease-after

Changes: This release includes some minor feature enhancements and bugfixes.

No changes have been submitted for this release.

No-screenshot

Project Spotlight

Security Filter for Request HTTP Data

A security filter for vulnerable sites using regex patterns.

20128e97163e5772ca19f2d971a33b83_thumb

Project Spotlight

Webminstats

A graphing statistics module for Webmin.