About

Log in?

DTU users get better search results including licensed content and discounts on order fees.

Anyone can log in and get personalized features such as favorites, tags and feeds.

Log in as DTU user Log in as non-DTU user No thanks

DTU Findit

Conference paper

Lempel-Ziv Compression in a Sliding Window

From

Department of Applied Mathematics and Computer Science, Technical University of Denmark1

Algorithms and Logic, Department of Applied Mathematics and Computer Science, Technical University of Denmark2

TU Dortmund University3

We present new algorithms for the sliding window Lempel-Ziv (LZ77) problem and the approximate rightmost LZ77 parsing problem. Our main result is a new and surprisingly simple algorithm that computes the sliding window LZ77 parse in O(w) space and either O(n) expected time or O(n log log w + z log logσ) deterministic time.

Here, w is the window size, n is the size of the input string, z is the number of phrases in the parse, and σ is the size of the alphabet. This matches the space and time bounds of previous results while removing constant size restrictions on the alphabet size. To achieve our result, we combine a simple modification and augmentation of the suffix tree with periodicity properties of sliding windows.

We also apply this new technique to obtain an algorithm for the approximate rightmost LZ77 problem that uses O(n(log z + loglogn)) time and O(n) space and produces a (1 + ϵ)-approximation of the rightmost parsing (any constant ϵ > 0). While this does not improve the best known time-space trade-offs for exact rightmost parsing, our algorithm is significantly simpler and exposes a direct connection between sliding window parsing and the approximate rightmost matching problem.

Language: English
Publisher: Schloss Dagstuhl - Leibniz-Zentrum für Informatik
Year: 2017
Proceedings: 28th Annual Symposium on Combinatorial Pattern Matching
Series: Leibniz International Proceedings in Informatics
ISBN: 3959770391 and 9783959770392
ISSN: 18688969
Types: Conference paper
DOI: 10.4230/LIPIcs.CPM.2017.15
ORCIDs: Bille, Philip and Gørtz, Inge Li

DTU users get better search results including licensed content and discounts on order fees.

Log in as DTU user

Access

Analysis