pith. sign in

arxiv: 1606.04763 · v3 · pith:FL67QWONnew · submitted 2016-06-15 · 💻 cs.DS

A Simple Streaming Bit-parallel Algorithm for Swap Pattern Matching

classification 💻 cs.DS
keywords patternalgorithmalgorithmsmatchingapproachmodelpreviouslyproblem
0
0 comments X
read the original abstract

The pattern matching problem with swaps is to find all occurrences of a pattern in a text while allowing the pattern to swap adjacent symbols. The goal is to design fast matching algorithm that takes advantage of the bit parallelism of bitwise machine instructions and has only streaming access to the input. We introduce a new approach to solve this problem based on the graph theoretic model and compare its performance to previously known algorithms. We also show that an approach using deterministic finite automata cannot achieve similarly efficient algorithms. Furthermore, we describe a fatal flaw in some of the previously published algorithms based on the same model. Finally, we provide experimental evaluation of our algorithm on real-world data.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.