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 条
  • [31] Two-dimensional cellular automata and deterministic on-line tessalation automata
    Terrier, V
    THEORETICAL COMPUTER SCIENCE, 2003, 301 (1-3) : 167 - 186
  • [32] Linear Bidirectional On-Line Construction of Affix Trees
    Algorithmica, 2003, 37 : 43 - 74
  • [33] Advance in on-line two-dimensional liquid chromatography modulation technology
    Chen, Yingzhuang
    Montero, Lidia
    Schmitz, Oliver J.
    TRAC-TRENDS IN ANALYTICAL CHEMISTRY, 2019, 120
  • [34] Two-dimensional on-line bin packing problem with rotatable items
    Fujita, S
    Hada, T
    COMPUTING AND COMBINATORICS, PROCEEDINGS, 2000, 1858 : 210 - 220
  • [35] Improving the Efficiency of Exact Two Dimensional On-line Pattern Matching Algorithms
    Kouzinopoulos, Charalarnpos S.
    Margaritis, Konstantincis G.
    PCI 2008: 12TH PAN-HELLENIC CONFERENCE ON INFORMATICS, PROCEEDINGS, 2008, : 232 - 236
  • [36] Dynamic suffix tree and two-dimensional texts management
    Choi, Y
    Lam, TW
    INFORMATION PROCESSING LETTERS, 1997, 61 (04) : 213 - 220
  • [37] Two-Dimensional Block Trees
    Brisaboa, Nieves R.
    Gagie, Travis
    Gomez-Brandon, Adrian
    Navarro, Gonzalo
    2018 DATA COMPRESSION CONFERENCE (DCC 2018), 2018, : 227 - 236
  • [38] Dynamic suffix tree and two-dimensional texts management
    Department of Computer Science, University of Hong Kong, Pokfulam Road, Hong Kong, Hong Kong
    Inf. Process. Lett., 4 (213-220):
  • [39] Two-Dimensional Block Trees
    Brisaboa, Nieves R
    Gagie, Travis
    Gómez-Brandón, Adrián
    Navarro, Gonzalo
    Computer Journal, 2024, 67 (01): : 391 - 406
  • [40] Two-Dimensional Block Trees
    Brisaboa, Nieves R.
    Gagie, Travis
    Gomez-Brandon, Adrian
    Navarro, Gonzalo
    COMPUTER JOURNAL, 2024, 67 (01): : 391 - 406