Computing lempel-ziv factorization online

  • Authors:
  • Tatiana Starikovskaya

  • Affiliations:
  • Lomonosov Moscow State University, Moscow, Russia

  • Venue:
  • MFCS'12 Proceedings of the 37th international conference on Mathematical Foundations of Computer Science
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present an algorithm which computes the Lempel-Ziv factorization of a word W of length n on an alphabet Σ of size σ online in the following sense: it reads W starting from the left, and, after reading each r=O(logσn) characters of W, updates the Lempel-Ziv factorization. The algorithm requires O(nlogσ) bits of space and O(n log2n) time. The basis of the algorithm is a sparse suffix tree combined with wavelet trees.