Multiple serial episode matching

Abstract : In a previous paper we generalized the Knuth-Morris-Pratt (KMP) pattern matching algorithm and defined a non-conventional kind of RAM, the MP--RAMs (RAMS equipped with extra operations), and designed an $O(n)$ on-line algorithm for solving the serial episode matching problem on MP--RAMs when there is only one single episode. We here give two extensions of this algorithm to the case when we search for several patterns simultaneously and compare them. More preciseley, given $q+1$ strings (a text $t$ of length $n$ and $q$ patterns $m_1,\ldots,m_q$) and a natural number $w$, the {\em multiple serial episode matching problem} consists in finding the number of size $w$ windows of text $t$ which contain patterns $m_1,\ldots,m_q$ as subsequences, i.e. for each $m_i$, if $m_i=p_1,\ldots ,p_k$, the letters $p_1,\ldots ,p_k$ occur in the window, in the same order as in $m_i$, but not necessarily consecutively (they may be interleaved with other letters).} The main contribution is an algorithm solving this problem on-line in time $O(nq)$.
Type de document :
Communication dans un congrès
Y. Shoukourian. 2005, The National Academy of Sciences of Armenia Publishers, pp.26-38, 2005
Liste complète des métadonnées

https://hal.archives-ouvertes.fr/hal-00020564
Contributeur : Irene Guessarian <>
Soumis le : lundi 13 mars 2006 - 12:00:15
Dernière modification le : vendredi 4 janvier 2019 - 17:32:57
Document(s) archivé(s) le : samedi 3 avril 2010 - 22:47:52

Fichiers

Identifiants

Collections

Citation

Patrick Cegielski, Irene Guessarian, Yuri Matiyasevich. Multiple serial episode matching. Y. Shoukourian. 2005, The National Academy of Sciences of Armenia Publishers, pp.26-38, 2005. 〈hal-00020564〉

Partager

Métriques

Consultations de la notice

102

Téléchargements de fichiers

44