Space efficient suffix trees

被引:0
|
作者
Munro, I [1 ]
Raman, V
Rao, SS
机构
[1] Univ Waterloo, Dept Comp Sci, Waterloo, ON N2L 3G1, Canada
[2] Inst Math Sci, Chennai 600113, India
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We first give a representation of a suffix tree that uses n lg n + O(n) bits of space and supports searching for a pattern in the given text (from a fixed size alphabet) in O(m) time, where n is the size of the text and m is the size of the pattern. The structure is quite simple and answers a question raised by Muthukrishnan in [17]. Previous compact representations of suffix trees had a higher lower order term in space and had some expectation assumption [3], or required more time for searching [5]. Then, surprisingly, we show that we can even do better, by developing a structure that uses a suffix array land so n[lg n] bits) and an additional o(n) bits. String searching can be done in this structure also in O(m) time. Besides supporting string searching, we can also report the number of occurrences of the pattern in the same time using no additional space. In this case the space occupied by the structures is much less compared to many of the previously known structures to do this. When the size of the alphabet k is not a constant, our structures can be easily extended, using standard tricks, to those that use the same space but take O(m lg k) time for string searching or to those that use an additional O(m lg k) bits but take the same O(m) time for searching.
引用
收藏
页码:186 / 196
页数:11
相关论文
共 50 条
  • [1] Space efficient suffix trees
    Munro, JL
    Raman, V
    Rao, SS
    [J]. JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2001, 39 (02): : 205 - 222
  • [2] Space-efficient construction of compressed suffix trees
    Prezza, Nicola
    Rosone, Giovanna
    [J]. THEORETICAL COMPUTER SCIENCE, 2021, 852 : 138 - 156
  • [3] Lempel–Ziv Factorization Powered by Space Efficient Suffix Trees
    Johannes Fischer
    Tomohiro I
    Dominik Köppl
    Kunihiko Sadakane
    [J]. Algorithmica, 2018, 80 : 2048 - 2081
  • [4] EFFICIENT IMPLEMENTATION OF SUFFIX TREES
    ANDERSSON, A
    NILSSON, S
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1995, 25 (02): : 129 - 141
  • [5] Lempel-Ziv Factorization Powered by Space Efficient Suffix Trees
    Fischer, Johannes
    Tomohiro, I
    Koeppl, Dominik
    Sadakane, Kunihiko
    [J]. ALGORITHMICA, 2018, 80 (07) : 2048 - 2081
  • [6] The Virtual Suffix Tree: An Efficient Data Structure for Suffix Trees and Suffix Arrays
    Lin, Jie
    Jiang, Yue
    Adjeroh, Don
    [J]. PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2008, 2008, : 68 - 83
  • [7] Reducing the space requirement of suffix trees
    Kurtz, S
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1999, 29 (13): : 1149 - 1171
  • [8] Efficient implementation of lazy suffix trees
    Giegerich, R
    Kurtz, S
    Stoye, J
    [J]. ALGORITHM ENGINEERING, 1999, 1668 : 30 - 42
  • [9] Efficient implementation of lazy suffix trees
    Giegerich, R
    Kurtz, S
    Stoye, J
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2003, 33 (11): : 1035 - 1049
  • [10] Efficient suffix trees on secondary storage
    Clark, DR
    Munro, JI
    [J]. PROCEEDINGS OF THE SEVENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 1996, : 383 - 391