Optimal Substring Equality Queries with Applications to Sparse Text Indexing

被引:3
|
作者
Prezza, Nicola [1 ,2 ]
机构
[1] LUISS Guido Carli, Viale Romania 32, IT-00197 Rome, Italy
[2] Ca Foscari Univ Venice, Venice, Italy
关键词
Substring equality queries; in-place; suffix sorting; LOWER BOUNDS; SUFFIX; CONSTRUCTION;
D O I
10.1145/3426870
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the problem of encoding a string of length n from an integer alphabet of size sigma so access, substring equality, and Longest Common Extension (LCE) queries can be answered efficiently. We describe a new space-optimal data structure supporting logarithmic-time queries. Access and substring equality query times can furthermore be improved to the optimal O(1) if O(log n) additional precomputed words are allowed in the total space. Additionally, we provide in-place algorithms for converting between the string and our data structure. Using this new string representation, we obtain the first in-place subquadratic algorithms for several string-processing problems in the restore model: The input string is rewritable and must be restored before the computation terminates. In particular, we describe the first in-place subquadratic Monte Carlo solutions to the sparse suffix sorting, sparse LCP array construction, and suffix selection problems. With the sole exception of suffix selection, our algorithms are also the first running in sublinear time for small enough sets of input suffixes. Combining these solutions, we obtain the first sublinear-time Monte Carlo algorithm for building the sparse suffix tree in compact space. We also show how to build a correct version of our data structure using small working space. This leads to the first Las Vegas in-place algorithm computing the full LCP array in 0(n log n) time w.h.p. and to the first Las Vegas in-place algorithms solving the sparse suffix sorting and sparse LCP array construction problems in O(n(1.5)root log sigma) time w.h.p.
引用
收藏
页数:23
相关论文
共 24 条
  • [21] Optimal feature selection for sparse linear discriminant analysis and its applications in gene expression data
    Wang, Cheng
    Cao, Longbing
    Miao, Baiqi
    COMPUTATIONAL STATISTICS & DATA ANALYSIS, 2013, 66 : 140 - 149
  • [22] Coherence analysis using canonical coordinate decomposition with applications to sparse processing and optimal array deployment
    Azimi-Sadjadi, MR
    Pezeshki, A
    Wade, R
    UNATTENDED/UNMANNED GROUND, OCEAN, AND AIR SENSOR TECHNOLOGIES AND APPLICATIONS VI, 2004, 5417 : 43 - 50
  • [23] Challenges in Content-Based Image Indexing of Cultural Heritage Collections Support vector machine active learning with applications to text classification
    Picard, David
    Gosselin, Philippe-Henri
    Gaspard, Marie-Claude
    IEEE SIGNAL PROCESSING MAGAZINE, 2015, 32 (04) : 95 - 102
  • [24] An Optimal Bahadur-Efficient Method in Detection of Sparse Signals with Applications to Pathway Analysis in Sequencing Association Studies
    Dai, Hongying
    Wu, Guodong
    Wu, Michael
    Zhi, Degui
    PLOS ONE, 2016, 11 (07):