English

Dynamic index, LZ factorization, and LCE queries in compressed space

Data Structures and Algorithms 2016-04-07 v4

Abstract

In this paper, we present the following results: (1) We propose a new \emph{dynamic compressed index} of O(w)O(w) space, that supports searching for a pattern PP in the current text in O(Pf(M,w)+logwlogPlogM(logN+logPlogM)+occlogN)O(|P| f(M,w) + \log w \log |P| \log^* M (\log N + \log |P| \log^* M) + \mathit{occ} \log N) time and insertion/deletion of a substring of length yy in O((y+logNlogM)logwlogNlogM)O((y+ \log N\log^* M)\log w \log N \log^* M) time, where NN is the length of the current text, MM is the maximum length of the dynamic text, zz is the size of the Lempel-Ziv77 (LZ77) factorization of the current text, f(a,b)=O(min{loglogaloglogbloglogloga,logbloglogb})f(a,b) = O(\min \{ \frac{\log\log a \log\log b}{\log\log\log a}, \sqrt{\frac{\log b}{\log\log b}} \}) and w=O(zlogNlogM)w = O(z \log N \log^*M). (2) We propose a new space-efficient LZ77 factorization algorithm for a given text of length NN, which runs in O(Nf(N,w)+zlogwlog3N(logN)2)O(N f(N,w') + z \log w' \log^3 N (\log^* N)^2) time with O(w)O(w') working space, where w=O(zlogNlogN)w' =O(z \log N \log^* N). (3) We propose a data structure of O(w)O(w) space which supports longest common extension (LCE) queries on the text in O(logN+loglogN)O(\log N + \log \ell \log^* N) time, where \ell is the output LCE length. On top of the above contributions, we show several applications of our data structures which improve previous best known results on grammar-compressed string processing.

Keywords

Cite

@article{arxiv.1504.06954,
  title  = {Dynamic index, LZ factorization, and LCE queries in compressed space},
  author = {Takaaki Nishimoto and I Tomohiro and Shunsuke Inenaga and Hideo Bannai and Masayuki Takeda},
  journal= {arXiv preprint arXiv:1504.06954},
  year   = {2016}
}
R2 v1 2026-06-22T09:23:06.645Z