A Linear Space Data Structure for Range LCP Queries

被引:4
|
作者
Ganguly, Arnab [1 ]
Patil, Manish [2 ]
Shah, Rahul [3 ]
Thankachan, Sharma V. [4 ]
机构
[1] Univ Wisconsin, Dept Comp Sci, Whitewater, WI 53190 USA
[2] Facebook Inc, Menlo Pk, CA USA
[3] Louisiana State Univ, Dept Comp Sci, Baton Rouge, LA 70803 USA
[4] Univ Cent Florida, Dept Comp Sci, 117 Harris Ctr Bldg 116,4000 Cent Florida Blvd, Orlando, FL 32816 USA
关键词
String Algorithms; Suffix Trees; Range Query;
D O I
10.3233/FI-2018-1741
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Range LCP ( longest common prefix) is an extension of the classical LCP problem and is defined as follows: Preprocess a string S[1...n] of n characters, such that whenever an interval [i, j] comes as a query, we can report max{vertical bar LCP(S-p, S-q) vertical bar vertical bar i <= p < q <= j} Here LCP(S-p, S-q) is the longest common prefix of the suffixes of S starting at locations p and q, and vertical bar LCP(S-p, S-q)j is its length. This problem was first addressed by Amir et al. [ISAAC, 2011]. They showed that the query can be answered in O(log log n) time using an O(n log(1+epsilon) n) space data structure for an arbitrarily small constant epsilon > 0. In an attempt to reduce the space bound, they presented a linear space data structure of O(d log log n) query time, where d = (j-i+1) In this paper, we present a new linear space data structure with an improved query time of O (root dlog d/(log n)(1/2-epsilon)).
引用
收藏
页码:245 / 251
页数:7
相关论文
共 50 条
  • [31] Range LCP
    Amir, Amihood
    Apostolico, Alberto
    Landau, Gad M.
    Levy, Avivit
    Lewenstein, Moshe
    Porat, Ely
    ALGORITHMS AND COMPUTATION, 2011, 7074 : 683 - +
  • [32] Range LCP
    Amir, Amihood
    Apostolico, Alberto
    Landau, Gad M.
    Levy, Avivit
    Lewenstein, Moshe
    Porat, Ely
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2014, 80 (07) : 1245 - 1253
  • [33] Ag-Tree: A novel structure for range queries in data warehouse environments
    Feng, Yaokai
    Makinouchi, Akifumi
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, PROCEEDINGS, 2006, 3882 : 498 - 512
  • [34] Recursive lists of clusters: A dynamic data structure for range queries in metric spaces
    Mamede, M
    COMPUTER AND INFORMATION SCIENCES - ISCIS 2005, PROCEEDINGS, 2005, 3733 : 843 - 853
  • [35] Parallel Data Cube Storage Structure for Range Sum Queries and Dynamic Updates
    Hong Gao
    Jian-Zhong Li
    Journal of Computer Science and Technology, 2005, 20 : 345 - 356
  • [36] A LOG LOG N DATA STRUCTURE FOR 3-SIDED RANGE QUERIES
    FRIES, O
    MEHLHORN, K
    NAHER, S
    TSAKALIDIS, A
    INFORMATION PROCESSING LETTERS, 1987, 25 (04) : 269 - 273
  • [37] Parallel data cube storage structure for range sum queries and dynamic updates
    Gao, H
    Li, JZ
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2005, 20 (03) : 345 - 356
  • [38] Skiptree: A new scalable distributed data structure on multidimensional data supporting range-queries
    Alaei, Saeed
    Ghodsi, Mohammad
    Toossi, Mohammad
    COMPUTER COMMUNICATIONS, 2010, 33 (01) : 73 - 82
  • [39] Transforming Tanimoto queries on real valued vectors to range queries in Euclidian space
    Kristensen, Thomas G.
    JOURNAL OF MATHEMATICAL CHEMISTRY, 2010, 48 (02) : 287 - 289
  • [40] Transforming Tanimoto queries on real valued vectors to range queries in Euclidian space
    Thomas G. Kristensen
    Journal of Mathematical Chemistry, 2010, 48 : 287 - 289