Publication IEICE TRANSACTIONS on Information and SystemsVol.E92-DNo.10pp.2025-2033 Publication Date: 2009/10/01 Online ISSN: 1745-1361 DOI: 10.1587/transinf.E92.D.2025 Print ISSN: 0916-8532 Type of Manuscript: PAPER Category: Algorithm Theory Keyword: succinct representation, rank function, select function,
Full Text: PDF(637.6KB)>>
Summary: Succinct representation is a space-efficient method to represent n discrete objects using space close to the information-theoretic lower bound. In order to directly access the ith object of succinctly represented data structures in constant time, two fundamental functions, rank and select, are commonly used. In this paper we propose two implementations supporting rank and select in constant time for non-compressed bit strings. One uses O(n log log n / ) bits of extra space and the other uses n+O(n log log n / log n) bits of extra space in the worst case. The former is rather a theoretical algorithm and the latter is a practical algorithm which works faster and uses less space in practice.