Faster Lyndon factorization algorithms for SLP and LZ78 compressed text
Faster Lyndon factorization algorithms for SLP and LZ78 compressed text
复制标题
DOI:
10.1016/j.tcs.2016.03.005
复制
发表时间:
2016-12
期刊:
影响因子:
--
通讯作者:
I. Tomohiro;Yuto Nakashima;Shunsuke Inenaga;H. Bannai;M. Takeda
中科院分区:
文献类型:
--
作者:
I. Tomohiro;Yuto Nakashima;Shunsuke Inenaga;H. Bannai;M. Takeda
We present two efficient algorithms which, given a compressed representation of a string w of length N, compute the Lyndon factorization of w. Given a straight line program (SLP) S of size n that describes w, the first algorithm runs in O (n 2+ P (n, N)+ Q (n, N) n log n) time and O (n 2+ S (n, N)) space, where P (n, N), S (n, N), Q (n, N) are respectively the pre-processing time, space, and query time of a data structure for longest common extensions (LCE) on SLPs. Given the Lempel–Ziv 78 encoding of size s for w, the second algorithm runs in O (s log s) time and space.