Lempel-Ziv Factorization May Be Harder Than Computing All Runs

被引:6
作者
Kosolobov, Dmitry [1 ]
机构
[1] Ural Fed Univ, Ekaterinburg, Russia
来源
32ND INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE (STACS 2015) | 2015年 / 30卷
关键词
Lempel-Ziv factorization; runs; repetitions; decision tree; lower bounds; DATA-COMPRESSION; COMPLEXITY; ALGORITHM;
D O I
10.4230/LIPIcs.STACS.2015.582
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The complexity of computing the Lempel-Ziv decomposition and the set of all runs (= maximal repetitions) is studied in the decision tree model of computation over ordered alphabet. It is known that both these problems can be solved by RAM algorithms in O(n log sigma) time, where n is the length of the input string and sigma is the number of distinct letters in it. We prove an Omega(n log sigma) lower bound on the number of comparisons required to construct the Lempel-Ziv decomposition and thereby conclude that a popular technique of computation of runs using the Lempel-Ziv decomposition cannot achieve an o(n log sigma ) time bound. In contrast with this, we exhibit an O(n) decision tree algorithm finding all runs in a string. Therefore, in the decision tree model the runs problem is easier than the Lempel-Ziv decomposition. Thus we support the conjecture that there is a linear RAM algorithm finding all runs.
引用
收藏
页码:582 / 593
页数:12
相关论文
共 23 条
  • [1] Abouelhoda M. I., 2004, Journal of Discrete Algorithms, V2, P53, DOI 10.1016/S1570-8667(03)00065-0
  • [2] AHO AV, 1976, J ACM, V23, P1, DOI 10.1145/321921.321922
  • [3] Badkobeh G, 2012, LECT NOTES COMPUT SC, V7608, P61, DOI 10.1007/978-3-642-34109-0_8
  • [4] Bannai H., 2014, ARXIV14060263V4
  • [5] Breslauer D., 1992, THESIS
  • [6] Lempel-Ziv Factorization Using Less Time & Space
    Chen, Gang
    Puglisi, Simon J.
    Smyth, W. F.
    [J]. MATHEMATICS IN COMPUTER SCIENCE, 2008, 1 (04) : 605 - 623
  • [7] TRANSDUCERS AND REPETITIONS
    CROCHEMORE, M
    [J]. THEORETICAL COMPUTER SCIENCE, 1986, 45 (01) : 63 - 86
  • [8] 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 - +
  • [9] On the maximal sum of exponents of runs in a string
    Crochemore, Maxime
    Kubica, Marcin
    Radoszewski, Jakub
    Rytter, Wojciech
    Walen, Tomasz
    [J]. JOURNAL OF DISCRETE ALGORITHMS, 2012, 14 : 29 - 36
  • [10] The "runs" conjecture
    Crochemore, Maxime
    Ilie, Lucian
    Tinta, Liviu
    [J]. THEORETICAL COMPUTER SCIENCE, 2011, 412 (27) : 2931 - 2941