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 条
  • [1] Dynamic rank-select structures with applications to run-length. encoded texts (Extended abstract)
    Lee, Sunho
    Park, Kunsoo
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2007, 4580 : 95 - +
  • [2] Matching for run-length encoded strings
    Apostolico, A
    Landau, GM
    Skiena, S
    JOURNAL OF COMPLEXITY, 1999, 15 (01) : 4 - 16
  • [3] Matching for run-length encoded strings
    Apostolico, A
    Landau, GM
    Skiena, S
    COMPRESSION AND COMPLEXITY OF SEQUENCES 1997 - PROCEEDINGS, 1998, : 348 - 356
  • [4] Distinct squares in run-length encoded strings
    Liu, J. J.
    THEORETICAL COMPUTER SCIENCE, 2010, 411 (49) : 4235 - 4241
  • [5] Classification of run-length encoded binary data
    Babu, T. Ravindra
    Murty, M. Narasimha
    Agrawal, V. K.
    PATTERN RECOGNITION, 2007, 40 (01) : 321 - 323
  • [6] Edit distance of run-length encoded strings
    Arbell, O
    Landau, GM
    Mitchell, JSB
    INFORMATION PROCESSING LETTERS, 2002, 83 (06) : 307 - 314
  • [7] Fast Exact Dynamic Time Warping on Run-Length Encoded Time Series
    Vincent Froese
    Brijnesh Jain
    Maciej Rymar
    Mathias Weller
    Algorithmica, 2023, 85 : 492 - 508
  • [8] Fast Exact Dynamic Time Warping on Run-Length Encoded Time Series
    Froese, Vincent
    Jain, Brijnesh
    Rymar, Maciej
    Weller, Mathias
    ALGORITHMICA, 2023, 85 (02) : 492 - 508
  • [9] Modified Run-Length Encoding Method and Distance Algorithm to Classify Run-Length Encoded Binary Data
    Kathirvalavalakumar, T.
    Palaniappan, R.
    CONTROL, COMPUTATION AND INFORMATION SYSTEMS, 2011, 140 : 271 - 280
  • [10] Hardness of comparing two run-length encoded strings
    Chen, Kuan-Yu
    Hsu, Ping-Hui
    Chao, Kun-Mao
    JOURNAL OF COMPLEXITY, 2010, 26 (04) : 364 - 374