Substring Range Reporting

被引:9
|
作者
Bille, Philip [1 ]
Gortz, Inge Li [1 ]
机构
[1] Tech Univ Denmark, DTU Informat, Bldg 322, DK-2800 Lyngby, Denmark
关键词
String indexing; Range reporting; Gaps; Position-restricted substring searching; FASTER INDEX; ALGORITHMS; SEARCH; TIME;
D O I
10.1007/s00453-012-9733-4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We revisit various string indexing problems with range reporting features, namely, position-restricted substring searching, indexing substrings with gaps, and indexing substrings with intervals. We obtain the following main results. We give efficient reductions for each of the above problems to a new problem, which we call substring range reporting. Hence, we unify the previous work by showing that we may restrict our attention to a single problem rather than studying each of the above problems individually. We show how to solve substring range reporting with optimal query time and little space. Combined with our reductions this leads to significantly improved time-space trade-offs for the above problems. In particular, for each problem we obtain the first solutions with optimal time query and O(n log (O(1)) n) space, where n is the length of the indexed string. We show that our techniques for substring range reporting generalize to substring range counting and substring range emptiness variants. We also obtain non-trivial time-space trade-offs for these problems.
引用
收藏
页码:384 / 396
页数:13
相关论文
共 50 条
  • [11] A data structure for substring-substring LCS length queries
    Sakai, Yoshifumi
    THEORETICAL COMPUTER SCIENCE, 2022, 911 : 41 - 54
  • [12] Generalized Substring Compression
    Keller, Orgad
    Kopelowitz, Tsvi
    Landau, Shir
    Lewenstein, Moshe
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2009, 5577 : 26 - 38
  • [13] Generalized substring compression
    Keller, Orgad
    Kopelowitz, Tsvi
    Feibish, Shir Landau
    Lewenstein, Moshe
    THEORETICAL COMPUTER SCIENCE, 2014, 525 : 42 - 54
  • [14] External memory range reporting on a grid
    Nekrich, Yakov
    ALGORITHMS AND COMPUTATION, 2007, 4835 : 525 - 535
  • [15] Simplex range reporting on a pointer machine
    Chazelle, B
    Rosenberg, B
    COMPUTATIONAL GEOMETRY-THEORY AND APPLICATIONS, 1996, 5 (05): : 237 - 247
  • [16] Dynamic Range Reporting in External Memory
    Nekrich, Yakov
    ALGORITHMS AND COMPUTATION, PT 2, 2010, 6507 : 25 - 36
  • [17] Substring Compression Problems
    Cormode, Graham
    Muthukrishnan, S.
    PROCEEDINGS OF THE SIXTEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2005, : 321 - 330
  • [18] On the closest string and substring problems
    Li, M
    Ma, B
    Wang, LS
    JOURNAL OF THE ACM, 2002, 49 (02) : 157 - 171
  • [19] HARRISONS SUBSTRING TESTING TECHNIQUE
    BOOKSTEIN, A
    COMMUNICATIONS OF THE ACM, 1973, 16 (03) : 180 - 181
  • [20] Automated Substring Hole Analysis
    Adler, Yoram
    Farchi, Eitan
    Klausner, Moshe
    Pelleg, Dan
    Raz, Orna
    Shochat, Moran
    Ur, Shmuel
    Zlotnick, Aviad
    2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, COMPANION VOLUME, 2009, : 203 - 206