Paper record
W1600708628More Haste, Less Waste: Lowering the Redundancy in Fully Indexable Dictionaries
Roberto Grossi, Alessio Orlandi, Rajeev Raman, Rao, S. Srinivasa
- Year
- 2009
- Venue
- DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
- References
- 36
- Cited by
- 47
Details and counts from OpenAlex.
Abstract
We consider the problem of representing, in a compressed format, a bit-vector~ of bits with s, supporting the following operations, where $b \in \{ \mathbf{0}, \mathbf{1} \}$: \begin{itemize} \item returns the number of occurrences of bit in the prefix ; \item returns the position of the th occurrence of bit in . \end{itemize} Such a data structure is called \emph{fully indexable dictionary (\textsc{fid})} [Raman, Raman, and Rao, 2007], and is at least as powerful as predecessor data structures. Viewing as a set $X = \{ x_1, x_2, \ldots, x_n \}$ of distinct integers drawn from a universe $[m] = \{1, \ldots, m\}$, the predecessor of integer in is given by . {\textsc{fid}}s have many applications in succinct and compressed data structures, as they are often involved in the construction of succinct representation for a variety of abstract data types. Our focus is on space-efficient {\textsc{fid}}s on the \textsc{ram} model with word size and constant time for all operations, so that the time cost is independent of the input size. Given the bitstring to be encoded, having length and containing ones, the minimal amount of information that needs to be stored is . The state of the art in building a \textsc{fid}\ for~ is given in~\mbox{}[P\v{a}tra\c{s}cu, 2008] using $B(m,n)+O( m / ( (\log m/ t) ^t) ) + O(m^{3/4}) $ bits, to support the operations in time. Here, we propose a parametric data structure exhibiting a time/space trade-off such that, for any real constants , , and integer , it uses \[ B(n,m) + O\left(n^{1+\delta} + n \left(\frac{m}{n^s}\right)^\varepsilon\right) \] bits and performs all the operations in time . The improvement is twofold: our redundancy can be lowered parametrically and, fixing , we get a constant-time \textsc{fid}\ whose space is bits, for sufficiently large . This is a significant improvement compared to the previous bounds for the general case.