Arrow Research search
Back to TCS

TCS 2021

The exact multiple pattern matching problem solved by a reference tree approach

Journal Article journal-article Computer Science · Theoretical Computer Science

Abstract

Given a text T and a set of r patterns P 1, P 2, …, P r, the exact multiple pattern matching problem reports the ending positions of all occurrences of P i in T for 1 ≤ i ≤ r. By transforming all substrings with a fixed length of T into a reference tree such that each internal node stores a reference string, the exact multiple pattern matching problem can be efficiently solved by searching patterns in the tree via the guidance of the reference strings. We design elegant algorithms to construct the reference tree (the preprocessing phase) and to search patterns in the tree (the searching phase) using bitwise operations. The experiments involving problem instances from the DNA sequence and the English language are conducted to compare the performance of our approach against those of the suffix tree and suffix array algorithms. The computational results demonstrate the advantage of our approach over these algorithms. In spite of the simplicity, our approach is quite efficient, flexible and robust.

Authors

Keywords

  • Exact multiple pattern matching
  • Reference tree
  • Reference string
  • DNA sequence
  • Suffix array
  • Suffix tree

Context

Venue
Theoretical Computer Science
Archive span
1975-2026
Indexed papers
16261
Paper id
382916673870374416
v2026.09.13