Permuted pattern matching algorithms on multi-track strings

Diptarama Hendrian, Yohei Ueki, Kazuyuki Narisawa, Ryo Yoshinaka, Ayumi Shinohara

Research output: Contribution to journalArticlepeer-review

5 Citations (Scopus)

Abstract

A multi-track string is a tuple of strings of the same length. Given the pattern and text of two multi-track strings, the permuted pattern matching problem is to find the occurrence positions of all permutations of the pattern in the text. In this paper, we propose several algorithms for permuted pattern matching. Our first algorithm, which is based on the Knuth-Morris-Pratt (KMP) algorithm, has a fast theoretical computing time with O(mk) as the preprocessing time and O(nk log σ) as the matching time, where n, m, k, s, and occ denote the length of the text, the length of the pattern, the number of strings in the multi-track, the alphabet size, and the number of occurrences of the pattern, respectively. We then improve the KMP-based algorithm by using an automaton, which has a better experimental running time. The next proposed algorithms are based on the Boyer-Moore algorithm and the Horspool algorithm that try to perform pattern matching. These algorithms are the fastest experimental algorithms. Furthermore, we propose an extension of the AC-automaton algorithm that can solve dictionary matching on multi-tracks, which is a task to find multiple multi-track patterns in a multi-track text. Finally, we propose filtering algorithms that can perform permuted pattern matching quickly in practice.

Original languageEnglish
Article number73
JournalAlgorithms
Volume12
Issue number4
DOIs
Publication statusPublished - 2019 Jan 1

Keywords

  • AC-automaton
  • Multi-track string
  • Permuted pattern matching

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Numerical Analysis
  • Computational Theory and Mathematics
  • Computational Mathematics

Fingerprint Dive into the research topics of 'Permuted pattern matching algorithms on multi-track strings'. Together they form a unique fingerprint.

Cite this