Optimal Prefix and Suffix Queries on Texts - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Information Processing Letters Année : 2008

Optimal Prefix and Suffix Queries on Texts

Résumé

In this paper, we study a restricted version of the position restricted pattern matching problem introduced and studied by Makinen and Navarro [V. Makinen, G. Navarro, Position-restricted substring searching, in: J.R. Correa, A. Hevia, M.A. Kiwi (Eds.), LATIN, in: Lecture Notes in Computer Science, vol. 3887, Springer, 2006, pp. 703-714]. In the problem handled in this paper, we are interested in those occurrences of the pattern that lies in a suffix or in a prefix of the given text. We achieve optimal query time for our problem against a data structure which is an extension of the classic suffix tree data structure. The time and space complexity of the data structure is dominated by that of the suffix tree. Notably, the (best) algorithm by Makinen and Navarro, if applied to our problem, gives sub-optimal query time and the corresponding data structure also requires more time and space.
Fichier principal
Vignette du fichier
CIROptPreQueries.pdf (117.5 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00619725 , version 1 (14-02-2013)

Identifiants

Citer

Maxime Crochemore, Costas S. Iliopoulos, Mohammad Sohel Rahman. Optimal Prefix and Suffix Queries on Texts. Information Processing Letters, 2008, 108 (5), pp.320-325. ⟨10.1016/j.ipl.2008.05.027⟩. ⟨hal-00619725⟩
135 Consultations
418 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More