An Improved Succinct Representation for Dynamic k-ary Trees

8 years 4 months ago
An Improved Succinct Representation for Dynamic k-ary Trees
Abstract. k-ary trees are a fundamental data structure in many textprocessing algorithms (e.g., text searching). The traditional pointer-based representation of trees is space consuming, and hence only relatively small trees can be kept in main memory. Nowadays, however, many applications need to store a huge amount of information. In this paper we present a succinct representation for dynamic k-ary trees of n nodes, requiring 2n + n log k + o(n log k) bits of space, which is close to the information-theoretic lower bound. Unlike alternative representations where the operations on the tree can be usually computed in O(log n) time, our data structure is able to take advantage of asymptotically smaller values of k, supporting the basic operations parent and child in O(log k + log log n) time, which is o(log n) time whenever log k = o(log n). Insertions and deletions of leaves in the tree are supported in O((log k + log log n)(1 + log k log (log k+log log n) )) amortized time. Our represe...
Diego Arroyuelo
Added 19 Oct 2010
Updated 19 Oct 2010
Type Conference
Year 2008
Where CPM
Authors Diego Arroyuelo
Comments (0)