Improved dynamic rank-select entropy-bound structures

  • Authors:
  • Rodrigo González;Gonzalo Navarro

  • Affiliations:
  • Center for Web Research, Dept. of Computer Science, University of Chile;Center for Web Research, Dept. of Computer Science, University of Chile

  • Venue:
  • LATIN'08 Proceedings of the 8th Latin American conference on Theoretical informatics
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Operations rank and select over a sequence of symbols have many applications to the design of succinct and compressed data structures to manage text collections, structured text, binary relations, trees, graphs, and so on. We are interested in the case where the collections can be updated via insertions and deletions of symbols. Two current solutions stand out as the best in the tradeoff of space versus time (considering all the operations). One solution, by Mäkinen and Navarro, achieves compressed space (i.e., nH0 + o(n log σ) bits) and O(log n log σ) worst-case time for all the operations, where n is the sequence length, σ is the alphabet size, and H0 is the zero-order entropy of the sequence. The other solution, by Lee and Park, achieves O(log n(1 + log σ/log log n)) amortized time and uncompressed space, i.e. n log σ + O(n) + o(n log σ) bits. In this paper we show that the best of both worlds can be achieved. We combine the solutions to obtain nH0 + o(n log σ) bits of space and O(log n(1 + log σ/log log n)) worst-case time for all the operations. Apart from the best current solution to the problem, we obtain several by products of independent interest applicable to partial sums, text indexes, suffix arrays, the Burrows-Wheeler transform, and others.