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 条
  • [21] Most Recent Match Queries in On-Line Suffix Trees
    Larsson, N. Jesper
    COMBINATORIAL PATTERN MATCHING, CPM 2014, 2014, 8486 : 252 - 261
  • [22] Detection issues in two-dimensional on-line chromatography
    Horvath, Krisztian
    Fairchild, Jacob N.
    Guiochon, Georges
    JOURNAL OF CHROMATOGRAPHY A, 2009, 1216 (45) : 7785 - 7792
  • [23] On-line construction of compact suffix vectors and maximal repeats
    Prieur, Elise
    Lecroq, Thierry
    THEORETICAL COMPUTER SCIENCE, 2008, 407 (1-3) : 290 - 301
  • [24] Two-dimensional prefix string matching and covering on square matrices
    Crochemore, M
    Iliopoulos, CS
    Korda, M
    ALGORITHMICA, 1998, 20 (04) : 353 - 373
  • [25] Two-Dimensional Prefix String Matching and Covering on Square Matrices
    M. Crochemore
    C. S. Iliopoulos
    M. Korda
    Algorithmica, 1998, 20 : 353 - 373
  • [26] Complexity of Matching Sets of Two-Dimensional Patterns by Two-Dimensional On-Line Tessellation Automaton
    Prusa, Daniel
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2017, 28 (05) : 623 - 640
  • [27] Linear bidirectional on-line construction of affix trees
    Maass, MG
    COMBINATORIAL PATTERN MATCHING, 2000, 1848 : 320 - 334
  • [28] Linear, bidirectional on-line construction of affix trees
    Maass, MG
    ALGORITHMICA, 2003, 37 (01) : 43 - 74
  • [29] Deterministic fuzzy two-dimensional on-line tessellation automata and their languages
    Yang, Chao
    Sun, Xiaobing
    He, Qingyu
    Wang, Qichao
    Li, Yongming
    FUZZY SETS AND SYSTEMS, 2024, 491
  • [30] Two-dimensional on-line bin packing problem with rotatable items
    Fujita, S
    Hada, T
    THEORETICAL COMPUTER SCIENCE, 2002, 289 (02) : 939 - 952