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 条
  • [21] Computing suffix links for suffix trees and arrays
    Maass, Moritz G.
    INFORMATION PROCESSING LETTERS, 2007, 101 (06) : 250 - 254
  • [22] Converting suffix trees into factor/suffix oracles
    Rusu, Irena
    JOURNAL OF DISCRETE ALGORITHMS, 2008, 6 (02) : 324 - 340
  • [23] Distributed suffix trees
    Clifford, Raphael
    JOURNAL OF DISCRETE ALGORITHMS, 2005, 3 (2-4) : 176 - 197
  • [24] Suffix Trees on Words
    A. Andersson
    N. J. Larsson
    K. Swanson
    Algorithmica, 1999, 23 : 246 - 260
  • [25] Fast and space efficient linear suffix array construction
    Zhang, Sen
    Nong, Ge
    DCC: 2008 DATA COMPRESSION CONFERENCE, PROCEEDINGS, 2008, : 553 - 553
  • [26] Space efficient linear time construction of suffix arrays
    Ko, P
    Aluru, S
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2003, 2676 : 200 - 210
  • [27] Suffix trees on words
    Andersson, A
    Larsson, NJ
    Swanson, K
    ALGORITHMICA, 1999, 23 (03) : 246 - 260
  • [28] Space efficient linear time construction of suffix arrays
    Ko, Pang
    Aluru, Srinivas
    JOURNAL OF DISCRETE ALGORITHMS, 2005, 3 (2-4) : 143 - 156
  • [29] Relative Suffix Trees
    Farruggia, Andrea
    Gagie, Travis
    Navarro, Gonzalo
    Puglisi, Simon J.
    Siren, Jouni
    COMPUTER JOURNAL, 2018, 61 (05): : 773 - 788
  • [30] Efficient Periodicity Mining in Time Series Databases Using Suffix Trees
    Rasheed, Faraz
    Alshalalfa, Mohammed
    Alhajj, Reda
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2011, 23 (01) : 79 - 94