Faster Compact On-Line Lempel-Ziv Factorization

被引:6
|
作者
Yamamoto, Jun'ichi [1 ]
Tomohiro, I [1 ]
Bannai, Hideo [1 ]
Inenaga, Shunsuke [1 ]
Takeda, Masayuki [1 ]
机构
[1] Kyushu Univ, Dept Informat, Nishi Ku, Fukuoka, Japan
关键词
Lempel-Ziv Factorization; String Index; ALGORITHM;
D O I
10.4230/LIPIcs.STACS.2014.675
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present a new on-line algorithm for computing the Lempel-Ziv factorization of a string that runs in O(N log N) time and uses only O(N log sigma) bits of working space, where N is the length of the string and sigma is the size of the alphabet. This is a notable improvement compared to the performance of previous on-line algorithms using the same order of working space but running in either O(N log(3) N) time (Okanohara & Sadakane 2009) or O(N log(2) N) time (Starikovskaya 2012). The key to our new algorithm is in the utilization of an elegant but less popular index structure called Directed Acyclic Word Graphs, or DAWGs (Blumer et al. 1985). We also present an opportunistic variant of our algorithm, which, given the run length encoding of size m of a string of length N, computes the Lempel-Ziv factorization of the string on-line, in O (m . min {(log log m)(log log N)/log log log N, root lon m/log log m}) time and O(m log N) bits of space.
引用
收藏
页码:675 / 686
页数:12
相关论文
共 50 条
  • [1] Lempel-Ziv Factorization Revisited
    Ohlebusch, Enno
    Gog, Simon
    [J]. COMBINATORIAL PATTERN MATCHING, 22ND ANNUAL SYMPOSIUM, CPM 2011, 2011, 6661 : 15 - 26
  • [2] Computing Lempel-Ziv Factorization Online
    Starikovskaya, Tatiana
    [J]. MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2012, 2012, 7464 : 789 - 799
  • [3] Faster Lightweight Lempel-Ziv Parsing
    Kosolobov, Dmitry
    [J]. MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2015, PT II, 2015, 9235 : 432 - 444
  • [4] Practical Parallel Lempel-Ziv Factorization
    Shun, Julian
    Zhao, Fuyao
    [J]. 2013 DATA COMPRESSION CONFERENCE (DCC), 2013, : 123 - 132
  • [5] Lempel-Ziv dimension for Lempel-Ziv compression
    Lopez-Valdes, Maria
    [J]. MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2006, PROCEEDINGS, 2006, 4162 : 693 - 703
  • [6] Simpler and Faster Lempel Ziv Factorization
    Goto, Keisuke
    Bannai, Hideo
    [J]. 2013 DATA COMPRESSION CONFERENCE (DCC), 2013, : 133 - 142
  • [7] Reversed Lempel-Ziv Factorization with Suffix Trees
    Koppl, Dominik
    [J]. ALGORITHMS, 2021, 14 (06)
  • [8] Computing Reversed Lempel-Ziv Factorization Online
    Sugimoto, Shiho
    Tomohiro, I
    Inenaga, Shunsuke
    Bannai, Hideo
    Takeda, Masayuki
    [J]. PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2013, 2013, : 107 - 118
  • [9] A simple algorithm for computing the Lempel-Ziv factorization
    Crochemore, Maxime
    Ilie, Lucian
    Smyth, W. F.
    [J]. DCC: 2008 DATA COMPRESSION CONFERENCE, PROCEEDINGS, 2008, : 482 - +
  • [10] Lempel-Ziv and Multiscale Lempel-Ziv Complexity in Depression
    Kalev, K.
    Bachmann, M.
    Orgo, L.
    Lass, J.
    Hinrikus, H.
    [J]. 2015 37TH ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY (EMBC), 2015, : 4158 - 4161