Skip to search boxSkip to navigationSkip to main content

Randomized efficient algorithms for compressed strings: The finger-print approach

  • Leszek Gasieniec
    ,
  • Marek Karpinski
    ,
  • Wojciech Plandowski
    ,
  • Wojciech Rytter
  • Max Planck Institute for Informatics
    ,
  • University of Bonn
    ,
  • University of Warsaw
Scholary Output:
Chapter in Book/Report/Conference proceeding
Conference contribution

Related Event

Title

7th Annual Symposium on Combinatorial Pattern Matching, CPM 1996

Event type

Conference

Date

06/10/1996 - 06/12/1996

Location

Laguna BeachUnited States

Abstract

Denote by LZ(w) the coded form of a string w produced by Lempel-Ziv encoding algorithm. We consider several classical algorithmic problems for texts in the compressed setting. The first of them is the equality-testing: given LZ(w) and integers i,j,k test the equality: w[i…i+ k] = w[j… j + k]. We give a simple and efficient randomized algorithm for this problem using the finger-printing idea. The equality testing is reduced to the equivalence of certain context-free grammars generating single strings. The equality-testing is the bottleneck in other algorithms for compressed texts. We relate the time complexity of several classical problems for texts to the complexity Eq(n) of equality-testing. Assume n = |LZ(T)|, m = |LZ(P)| and U = |T|. Then we can compute the compressed representations of the sets of occurrences of P in T, periods of T, palindromes of T, and squares of T respectively in times O(n log2 U · Eq(m) + n2 log U), O(n log2 U · Eq(n) + n2 log U), O(n log2 U ·Eq(n) + n2 log U) and O(n2 log3 U · Eq(n) + n3 log2 U), where Eq(n) = O(n log log n). The randomization improves considerably upon the known deterministic algorithms.

Publication Information

Output type

Scholary Output:
Chapter in Book/Report/Conference proceeding
Conference contribution

Original language

English (US)

Pages from-to (Number of pages)

Pages 39-49 (11 pages)

Publication milestones

  • Published - 1996

Publication status

Published - 1996

Publisher

Springer Verlag

Publication series

  • Publication series name: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
    ISSN (Print): 0302-9743
    ISSN (Electronic): 1611-3349
    Volume: 1075
3540612580, 9783540612582

Publication IDs

  • Scopus: 84957638409

Host publication title

Combinatorial Pattern Matching - 7th Annual Symposium, CPM 1996, Proceedings

Host publication editors

  • Gene Myers
  • Dan Hirschberg

Publication metrics

Metrics

SciVal
citations
25
Fractional count
1
Fractional count
0.25
Fractional count
3
Fractional count
0.75
Fractional count
1
Fractional count
1
SciVal
FWCI
1.03
SciVal
Author count
4
SciVal
Paper percentile
77
Scopus
citations

PlumX, opens in new tab

Captures
9
Citation count
24