Improving on-line construction of two-dimensional suffix trees for square matrices

被引:1
|
作者
Na, Joong Chae [2 ]
Kim, Namhee [1 ]
Sim, Jeong Seop [3 ]
Kim, Dong Kyue [1 ]
机构
[1] Hanyang Univ, Div Elect & Comp Engn, Seoul 133791, South Korea
[2] Sejong Univ, Dept Comp Sci & Engn, Seoul 143747, South Korea
[3] Inha Univ, Sch Comp & Informat Engn, Inchon 402751, South Korea
关键词
Design of algorithms; Two-dimensional suffix trees; Index data structures; On-line algorithms; Randomized algorithms;
D O I
10.1016/j.ipl.2009.01.026
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The two-dimensional (2-D) suffix tree of an n x n square matrix A is a compacted trie that represents all square submatrices of A. We consider constructing 2-D suffix trees on-line, which means, instead of giving the whole matrix A in advance, A is separated and each part of A is given at different time as algorithms proceed. In general, developing an on-line algorithm is more difficult than developing an off-line algorithm. Moreover, the smaller the input grain size is, the harder it is to develop an on-line algorithm. In the case of 2-D suffix tree construction, dealing with a character at a time is harder than dealing with a row or a column at a time. In this paper we propose a randomized linear-time algorithm for constructing 2-D suffix trees on-line. This algorithm is superior to previous algorithms in two ways: (1) This is the first linear-time algorithm for constructing 2-D suffix trees on-line. Although there have been some linear-time algorithms for off-line construction, there were no linear-time algorithms for on-line construction. (2) We deal with the most fine-grain on-line case, i.e., our algorithm can construct a 2-D suffix tree even though only one character of A is given at a time, while previous on-line algorithms require at least a row and/or a column at a time. (C) 2009 Elsevier B.V.. All rights reserved.
引用
收藏
页码:504 / 508
页数:5
相关论文
共 50 条
  • [1] On-line construction of two-dimensional suffix trees
    Giancarlo, R
    Guaiana, D
    JOURNAL OF COMPLEXITY, 1999, 15 (01) : 72 - 127
  • [2] On-line construction of suffix trees
    Ukkonen, E.
    Algorithmica (New York), 1995, 14 (03):
  • [3] O(n2log n) time on-line construction of two-dimensional suffix trees
    Na, JC
    Giancarlo, R
    Park, K
    COMPUTING AND COMBINATORICS, PROCEEDINGS, 2005, 3595 : 273 - 282
  • [4] On-Line Construction of Two-Dimensional Suffix Trees in O(n2 log n) Time
    Joong Chae Na
    Raffaele Giancarlo
    Kunsoo Park
    Algorithmica, 2007, 48 : 173 - 186
  • [5] On-line construction of two-dimensional suffix trees in O(n2 log n) time
    Na, Joong Chae
    Giancarlo, Raffaele
    Park, Kunsoo
    ALGORITHMICA, 2007, 48 (02) : 173 - 186
  • [6] On-Line Construction of Parameterized Suffix Trees
    Lee, Taehyung
    Na, Joong Chae
    Park, Kunsoo
    STRING PROCESSING AND INFORMATION RETRIEVAL, PROCEEDINGS, 2009, 5721 : 31 - +
  • [7] A simple construction of two-dimensional suffix trees in linear time
    Kim, Dong Kyue
    Na, Joong Chae
    Sim, Jeong Seop
    Park, Kunsoo
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2007, 4580 : 352 - +
  • [8] Linear-Time Construction of Two-Dimensional Suffix Trees
    Kim, Dong Kyue
    Na, Joong Chae
    Sim, Jeong Seop
    Park, Kunsoo
    ALGORITHMICA, 2011, 59 (02) : 269 - 297
  • [9] Linear-Time Construction of Two-Dimensional Suffix Trees
    Dong Kyue Kim
    Joong Chae Na
    Jeong Seop Sim
    Kunsoo Park
    Algorithmica, 2011, 59 : 269 - 297
  • [10] On the construction of classes of suffix trees for square matrices: Algorithms and applications
    Giancarlo, R
    Grossi, R
    AUTOMATA, LANGUAGES AND PROGRAMMING, 1995, 944 : 111 - 122