Towards real-time suffix tree construction

被引:0
|
作者
Amir, Amihood [1 ]
Kopelowitz, Tsvi [1 ]
Lewenstein, Moshe [1 ]
Lewenstein, Noa [1 ]
机构
[1] Bar Ilan Univ, Dept Comp Sci, IL-52900 Ramat Gan, Israel
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The quest for a real-time suffix tree construction algorithm is over three decades old. To date there is no convincing understandable solution to this problem. This paper makes a step in this direction by constructing a suffix tree online in time O(log n) per every single input symbol. Clearly, it is impossible to achieve better than O(log n) time per symbol in the compaxison model, therefore no true real time algorithm can exist for infinite alphabets. Nevertheless, the best that can be hoped for is that the construction time for every symbol does not exceed O(log n) (as opposed to an amortized O(log n) time per symbol, achieved by current known algorithms). To our knowledge, our algorithm is the first that spends in the worst case O(log n) per every single input symbol. We also provide a simple algorithm that constructs online an indexing structure (the BIS) in time O(log n) per input symbol, where n is the number of text symbols input thus far. This structure and fast LCP (Longest Common Prefix) queries on it, provide the backbone for the suffix tree construction. Together, our two data structures provide a searching algorithm for a pattern of length m whose time is O(min(m log vertical bar Sigma vertical bar, m + log n) + tocc), where tocc is the number of occurrences of the pattern.
引用
收藏
页码:67 / 78
页数:12
相关论文
共 50 条
  • [1] Near real-time suffix tree construction via the fringe marked ancestor problem
    Breslauer, Dany
    Italiano, Giuseppe F.
    JOURNAL OF DISCRETE ALGORITHMS, 2013, 18 : 32 - 48
  • [2] Near Real-Time Suffix Tree Construction via the Fringe Marked Ancestor Problem
    Breslauer, Dany
    Italiano, Giuseppe F.
    STRING PROCESSING AND INFORMATION RETRIEVAL, 2011, 7024 : 156 - +
  • [3] Sparse Suffix Tree Construction in Optimal Time and Space
    Gawrychowski, Pawel
    Kociumaka, Tomasz
    PROCEEDINGS OF THE TWENTY-EIGHTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2017, : 425 - 439
  • [4] Real-Time Construction of Fruit Tree Model Based on Images
    Li, Yongping
    Li, Xingyuan
    Tian, Si
    EURASIA JOURNAL OF MATHEMATICS SCIENCE AND TECHNOLOGY EDUCATION, 2017, 13 (07) : 4035 - 4047
  • [5] Real-Time KD-Tree Construction on Graphics Hardware
    Zhou, Kun
    Hou, Qiming
    Wang, Rui
    Guo, Baining
    ACM TRANSACTIONS ON GRAPHICS, 2008, 27 (05):
  • [6] Real-time construction of fruit tree model based on image
    Xu, Moli
    Paper Asia, 2018, 2018 (COMPENDIUM 5): : 16 - 19
  • [7] Faster suffix tree construction with missing suffix links
    Cole, R
    Hariharan, R
    SIAM JOURNAL ON COMPUTING, 2003, 33 (01) : 26 - 42
  • [8] Towards Real-Time Monitoring and Remote Management of Construction Sites
    Hernandez, Niel Alejandro Paz
    Hevesi, Peter
    Hirsch, Marco
    Lukowicz, Paul
    INTELLIGENT ENVIRONMENTS 2018, 2018, 23 : 466 - 476
  • [9] PARALLEL CONSTRUCTION OF A SUFFIX TREE WITH APPLICATIONS
    APOSTOLICO, A
    ILIOPOULOS, C
    LANDAU, GM
    SCHIEBER, B
    VISHKIN, U
    ALGORITHMICA, 1988, 3 (03) : 347 - 365
  • [10] Towards a Real-Time Scheduling Framework for Data Transfers in Tree Networks
    Andreica, Mugurel Ionut
    Tirsa, Eliana-Dina
    PROCEEDINGS OF THE 10TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING, 2009, : 467 - 474