Abstract

In this paper, we consider the problem of efficiently representing a set SS of nn items out of a universe U={0,...,u−1}U=\{0,...,u-1\} while supporting a number of operations on it. Let G=g1...gnG=g_1...g_n be the gap stream associated with SS, gapgap its bit-size when encoded with \emph{gap-encoding}, and H0(G)H_0(G) its empirical zero-order entropy. We prove that (1) nH0(G)∈o(gap)nH_0(G)\in o(gap) if GG is highly compressible, and (2) nH0(G)≤nlog⁡(u/n)+n≤uH0(S)nH_0(G) \leq n\log(u/n) + n \leq uH_0(S). Let dd be the number of \emph{distinct} gap lengths between elements in SS. We firstly propose a new space-efficient zero-order compressed representation of SS taking n(H0(G)+1)+O(dlog⁡u)n(H_0(G)+1)+\mathcal O(d\log u) bits of space. Then, we describe a fully-indexable dictionary that supports \emph{rank} and \emph{select} queries in O(log⁡(u/n)+log⁡log⁡u)\mathcal O(\log(u/n)+\log\log u) time while requiring asymptotically the same space as the proposed compressed representation of SS.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.