Efficient Fully-Compressed Sequence Representations
Abstract
We present a data structure that stores a sequence over alphabet in bits, where is the zero-order entropy of . This structure supports the queries \access, \rank\ and \select, which are fundamental building blocks for many other compressed data structures, in worst-case time and average time . The worst-case complexity matches the best previous results, yet these had been achieved with data structures using bits. On highly compressible sequences the bits of the redundancy may be significant compared to the the bits that encode the data. Our representation, instead, compresses the redundancy as well. Moreover, our average-case complexity is unprecedented. Our technique is based on partitioning the alphabet into characters of similar frequency. The subsequence corresponding to each group can then be encoded using fast uncompressed representations without harming the overall compression ratios, even in the redundancy. The result also improves upon the best current compressed representations of several other data structures. For example, we achieve compressed redundancy, retaining the best time complexities, for the smallest existing full-text self-indexes; compressed permutations with times for and improved to loglogarithmic; and the first compressed representation of dynamic collections of disjoint sets. We also point out various applications to inverted indexes, suffix arrays, binary relations, and data compressors. ...
Cite
@article{arxiv.0911.4981,
title = {Efficient Fully-Compressed Sequence Representations},
author = {Jeremy Barbay and Francisco Claude and Travis Gagie and Gonzalo Navarro and Yakov Nekrich},
journal= {arXiv preprint arXiv:0911.4981},
year = {2012}
}