Tree
Table of Contents
Overview
Independent packages
John-Mark Gurney’s btree library.
Jason Evans’ binary search tree libraries
http://t-t-travails.blogspot.hk/2008/07/treaps-versus-red-black-trees.html
- rbnew: Left-leaning red-black trees.
- rbold: Standard red-black trees.
- RB: Standard red-black trees, as implemented by the *BSD sys/tree.h.
- trphash: Treaps, with priorities computed via pointer hashing.
- trpprng: Treaps, with priorities computed via pseudo-random number generation
GNU libavl
implment a two-pointer red-black tree, a three-pointer red-black tree, an AVL tree and a unbalanced binary search tree
Niels Provos’ tree library for FreeBSD
A three-pointer red-black tree and a splay tree. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/tree.h
Thomas Niemann’s red-black tree
sglibrbtree: from SGLIB
It implements a two-pointer recursive red-black tree (all the other binary search trees are implemented without recursion).
Other AVL resources
compare
Another Look at my old Benchmark
Benchmark of Dictionary Structures
k-d tree
Overview
k-d tree (short for k-dimensional tree) is a space-partitioning data structure for organizing points in a k-dimensional space.1