Dynamic rank/select structures with applications to run-length encoded texts

被引:8
|
作者
Lee, Sunho [1 ]
Park, Kunsoo [1 ]
机构
[1] Seoul Natl Univ, Sch Engn & Comp Sci, Seoul 151742, South Korea
关键词
Succinct data structures; Dynamic rank/select structures; Full-text index; Run-length encoding;
D O I
10.1016/j.tcs.2009.07.021
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Given an n-length text over a sigma-size alphabet, we propose a framework for dynamic rank/select structures on the text and some of its applications. For a small alphabet with a <= log n, we propose a two-level structure consisting of a counting scheme and a storing scheme that supports O(log n) worst-case time rank/select operations and O(log n) amortized time insert/delete operations. For a large alphabet with log n < sigma <= n, we extend it to obtain O((1+ log sigma/log log n) worst-case time rank/select and O((1 + log sigma/log log n) log n) amortized time insert/delete. Our structure provides a simple representation of an index for a collection of texts. In addition, we present rank/select structures on run-length encoding (RLE) of a text. For the n'-length RLE of an n-length text, our static version provides O(1) time select and O(log log sigma) time rank using n' log sigma + O(n) bits and our dynamic version gives O((1 + log sigma/log log n) log n) time operations in n' log sigma + o(n' log sigma ) + O(n) bits. (C) 2009 Elsevier B.V. All rights reserved.
引用
收藏
页码:4402 / 4413
页数:12
相关论文
共 50 条
  • [31] Approximate Matching for Run-Length Encoded Strings Is 3SUM-Hard
    Chen, Kuan-Yu
    Hsu, Ping-Hui
    Chao, Kun-Mao
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2009, 5577 : 168 - 179
  • [32] A Fully Compressed Algorithm for Computing the Edit Distance of Run-Length Encoded Strings
    Chen, Kuan-Yu
    Chao, Kun-Mao
    ALGORITHMICA, 2013, 65 (02) : 354 - 370
  • [33] A Fully Compressed Algorithm for Computing the Edit Distance of Run-Length Encoded Strings
    Chen, Kuan-Yu
    Chao, Kun-Mao
    ALGORITHMS-ESA 2010, 2010, 6346 : 415 - 426
  • [34] A Fully Compressed Algorithm for Computing the Edit Distance of Run-Length Encoded Strings
    Kuan-Yu Chen
    Kun-Mao Chao
    Algorithmica, 2013, 65 : 354 - 370
  • [35] Gray codes over certain run-length sequences for local rank modulation
    Xiang Wang
    Fang-Wei Fu
    Science China Information Sciences, 2018, 61
  • [36] Image segmentation using dynamic run-length coding technique
    McCallister, WO
    Hung, CC
    IMAGE ANALYSIS, PROCEEDINGS, 2003, 2749 : 343 - 348
  • [37] Gray codes over certain run-length sequences for local rank modulation
    Xiang WANG
    Fang-Wei FU
    ScienceChina(InformationSciences), 2018, 61 (10) : 98 - 113
  • [38] Gray codes over certain run-length sequences for local rank modulation
    Wang, Xiang
    Fu, Fang-Wei
    SCIENCE CHINA-INFORMATION SCIENCES, 2018, 61 (10)
  • [39] Fast Algorithms for the Shortest Unique Palindromic Substring Problem on Run-Length Encoded Strings
    Kiichi Watanabe
    Yuto Nakashima
    Shunsuke Inenaga
    Hideo Bannai
    Masayuki Takeda
    Theory of Computing Systems, 2020, 64 : 1273 - 1291
  • [40] Fast Algorithms for the Shortest Unique Palindromic Substring Problem on Run-Length Encoded Strings
    Watanabe, Kiichi
    Nakashima, Yuto
    Inenaga, Shunsuke
    Bannai, Hideo
    Takeda, Masayuki
    THEORY OF COMPUTING SYSTEMS, 2020, 64 (07) : 1273 - 1291