Back to Search
Start Over
The swap matching problem revisited.
- Source :
-
Theoretical Computer Science . Nov2014, Vol. 557, p34-49. 16p. - Publication Year :
- 2014
-
Abstract
- In this paper, we revisit the much studied problem of Pattern Matching with Swaps (Swap Matching problem, for short). We first present a graph-theoretic model, which opens a new and so far unexplored avenue to solve the problem. Then, using the model, we devise two efficient algorithms to solve the swap matching problem. The resulting algorithms are adaptations of the classic shift-and algorithm. For patterns having length similar to the word-size of the target machine, both the algorithms run in linear time considering a fixed alphabet. [ABSTRACT FROM AUTHOR]
- Subjects :
- *MATCHING theory
*PROBLEM solving
*GRAPH theory
*ALGORITHMS
*STRING theory
Subjects
Details
- Language :
- English
- ISSN :
- 03043975
- Volume :
- 557
- Database :
- Academic Search Index
- Journal :
- Theoretical Computer Science
- Publication Type :
- Academic Journal
- Accession number :
- 98807738
- Full Text :
- https://doi.org/10.1016/j.tcs.2014.08.009