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

Abstract

In this paper, we present the following results: (1) We propose a new dynamic compressed index of O(w) space, that supports searching for a pattern P in the current text in O(|P| f(M,w) + w |P| * M ( N + |P| * M) + occ N) time and insertion/deletion of a substring of length y in O((y+ N* M) w N * M) time, where N is the length of the current text, M is the maximum length of the dynamic text, z is the size of the Lempel-Ziv77 (LZ77) factorization of the current text, f(a,b) = O( \ a b a, b b \) and w = O(z N *M). (2) We propose a new space-efficient LZ77 factorization algorithm for a given text of length N, which runs in O(N f(N,w') + z w' 3 N (* N)2) time with O(w') working space, where w' =O(z N * N). (3) We propose a data structure of O(w) space which supports longest common extension (LCE) queries on the text in O( N + * N) time, where 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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…