Abstract

In this paper, we propose a new \emph{dynamic compressed index} of O(w)O(w) space for a dynamic text TT, where w=O(min⁡(zlog⁡Nlog⁡∗M,N))w = O(\min(z \log N \log^*M, N)) is the size of the signature encoding of TT, zz is the size of the Lempel-Ziv77 (LZ77) factorization of TT, NN is the length of TT, and M≥3NM \geq 3N is an integer that can be handled in constant time under word RAM model. Our index supports searching for a pattern PP in TT in O(∣P∣fA+log⁡wlog⁡∣P∣log⁡∗M(log⁡N+log⁡∣P∣log⁡∗M)+occlog⁡N)O(|P| f_{\mathcal{A}} + \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+log⁡Nlog⁡∗M)log⁡wlog⁡Nlog⁡∗M)O((y+ \log N\log^* M)\log w \log N \log^* M) time, where fA=O(min⁡{log⁡log⁡Mlog⁡log⁡wlog⁡log⁡log⁡M,log⁡wlog⁡log⁡w})f_{\mathcal{A}} = O(\min \{ \frac{\log\log M \log\log w}{\log\log\log M}, \sqrt{\frac{\log w}{\log\log w}} \}). Also, we propose a new space-efficient LZ77 factorization algorithm for a given text of length NN, which runs in O(NfA+zlog⁡wlog⁡3N(log⁡∗N)2)O(N f_{\mathcal{A}} + z \log w \log^3 N (\log^* N)^2) time with O(w)O(w) working space.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.