1. Compact searchable static binary trees
- Author
-
Bruce K. Durgan
- Subjects
Red–black tree ,Discrete mathematics ,AVL tree ,Binary tree ,K-ary tree ,Exponential tree ,Random binary tree ,Computer Science Applications ,Theoretical Computer Science ,Range tree ,Combinatorics ,2–3–4 tree ,Signal Processing ,Information Systems ,Mathematics - Abstract
A compact searchable representation of static binary trees is presented that can be traversed in O( h ) time where h is the height of the tree. The space requirement for a tree with n nodes is less than 2.5 n +( h −1)(2+log 2 (( n −1)/( h −1))) bits. The access time per node is in O(1). The scheme uses a cumulative-count technique to map the nodes at each level in the tree into sequential memory locations. The mapping requires the nodes to be of uniform size.
- Published
- 2004
- Full Text
- View/download PDF