Computing the Longest Previous Factor - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue European Journal of Combinatorics Année : 2013

Computing the Longest Previous Factor

Maxime Crochemore
Lucian Ilie
  • Fonction : Auteur
Costas S. Iliopoulos
  • Fonction : Auteur
  • PersonId : 992344
Tomasz Walen
  • Fonction : Auteur

Résumé

The Longest Previous Factor array gives, for each position i in a string y, the length of the longest factor (substring) of y that occurs both at i and to the left of i in y. The Longest Previous Factor array is central in many text compression techniques as well as in the most efficient algorithms for detecting motifs and repetitions occurring in a text. Computing the Longest Previous Factor array requires usually the Suffix Array and the Longest Common Prefix array. We give the first time-space optimal algorithm that computes the Longest Previous Factor array, given the Suffix Array and the Longest Common Prefix arrays. We also give the first linear-time algorithm that computes the permutation that applied to the Longest Common Prefix array produces the Longest Previous Factor array.
Fichier principal
Vignette du fichier
ComputingLPF.pdf (165.48 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01806294 , version 1 (01-06-2018)

Identifiants

  • HAL Id : hal-01806294 , version 1

Citer

Maxime Crochemore, Lucian Ilie, Costas S. Iliopoulos, Marcin Kubica, Wojciech Rytter, et al.. Computing the Longest Previous Factor. European Journal of Combinatorics, 2013. ⟨hal-01806294⟩
21 Consultations
96 Téléchargements

Partager

Gmail Facebook X LinkedIn More