Improved dynamic rank-select entropy-bound structures

被引:12
作者
Gonzalez, Rodrigo [1 ]
Navarro, Gonzalo [1 ]
机构
[1] Univ Chile, Dept Comp Sci, Ctr Web Res, Santiago, Chile
来源
LATIN 2008: THEORETICAL INFORMATICS | 2008年 / 4957卷
关键词
D O I
10.1007/978-3-540-78773-0_33
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 Makinen and Navarro, achieves compressed space (i.e., nHo + o(n log sigma) bits) and O(log n log sigma) worst-case time for all the operations, where n is the sequence length, sigma is the alphabet size, and Ho is the zero-order entropy of the sequence. The other solution, by Lee and Park, achieves O(logn(1 + lo sigma/log log n)) amortized time and uncompressed space, i.e. n log a + 0(n) + o(n log a) 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 sigma) bits of space and O(log n(1 + log sigma/log long n)) worst-case time for all the operations. Apart from the best current solution to the problem, we obtain several byproducts of independent interest applicable to partial sums, text indexes, suffix arrays, the Burrows-Wheeler transform, and others.
引用
收藏
页码:374 / 386
页数:13
相关论文
共 17 条
[1]  
[Anonymous], 1994, BLOCK SORTING LOSSLE
[2]   Compressed Indexes for Dynamic Text Collections [J].
Chan, Ho-Leung ;
Hon, Wing-Kai ;
Lam, Tak-Wah ;
Sadakane, Kunihiko .
ACM TRANSACTIONS ON ALGORITHMS, 2007, 3 (02)
[3]   A simple storage scheme for strings achieving entropy bounds [J].
Ferragina, Paolo ;
Venturini, Rossano .
THEORETICAL COMPUTER SCIENCE, 2007, 372 (01) :115-121
[4]   When Indexing Equals Compression: Experiments with Compressing Suffix Arrays and Applications [J].
Foschini, Luca ;
Grossi, Roberto ;
Gupta, Ankur ;
Vitter, Jeffrey Scott .
ACM TRANSACTIONS ON ALGORITHMS, 2006, 2 (04)
[5]  
GONZALEZ R, 2006, LNCS, V4009, P295
[6]  
Grossi R, 2003, SIAM PROC S, P841
[7]  
Hon WK, 2003, LECT NOTES COMPUT SC, V2906, P505
[8]  
Lee S, 2007, LECT NOTES COMPUT SC, V4580, P95
[9]  
MAKINEN V, 2006, LNCS, V4009, P307
[10]  
Mäkinen V, 2007, LECT NOTES COMPUT SC, V4726, P229