๐”– Bobbio Scriptorium
โœฆ   LIBER   โœฆ

Pattern Matching with Swaps

โœ Scribed by Amihood Amir; Yonatan Aumann; Gad M. Landau; Moshe Lewenstein; Noa Lewenstein


Publisher
Elsevier Science
Year
2000
Tongue
English
Weight
146 KB
Volume
37
Category
Article
ISSN
0196-6774

No coin nor oath required. For personal study only.

โœฆ Synopsis


Let a text string T of n symbols and a pattern string P of m symbols from alphabet be given. A swapped version T of T is a length n string derived from T by a series of local swaps (i.e., t โ† t +1 and t +1 โ† t ), where each element can participate in no more than one swap. The pattern matching with swaps problem is that of finding all locations i for which there exists a swapped version T of T with an exact matching of P in location i of T . It has been an open problem whether swapped matching can be done in less than O nm time. In this paper we show the first algorithm that solves the pattern matching with swaps problem in time o nm . We present an algorithm whose time complexity is O nm 1/3 log m log ฯƒ for a general alphabet , where ฯƒ = min m .


๐Ÿ“œ SIMILAR VOLUMES


Inverse Pattern Matching
โœ Amihood Amir; Alberto Apostolico; Moshe Lewenstein ๐Ÿ“‚ Article ๐Ÿ“… 1997 ๐Ÿ› Elsevier Science ๐ŸŒ English โš– 181 KB

Let a textstring T of n symbols from some alphabet โŒบ and an integer mn be given. A pattern P of length m over โŒบ is sought such that P minimizes ลฝ . alternatively, maximizes the total number of pairwise character mismatches generated when P is compared with all m-character substrings of T. Two additi

Pattern Matching in Hypertext
โœ Amihood Amir; Moshe Lewenstein; Noa Lewenstein ๐Ÿ“‚ Article ๐Ÿ“… 2000 ๐Ÿ› Elsevier Science ๐ŸŒ English โš– 142 KB

The importance of hypertext has been steadily growing over the past decade. The Internet and other information systems use hypertext format, with data organized associatively rather than sequentially or relationally. A myriad of textual problems have been considered in the pattern matching field wit

Fastest Pattern Matching in Strings
โœ L. Colussi ๐Ÿ“‚ Article ๐Ÿ“… 1994 ๐Ÿ› Elsevier Science ๐ŸŒ English โš– 850 KB

An algorithm is presented that substantially improves the algorithm of Boyer and Moore for pattern matching in strings, both in the worst case and in the average. Both the Boyer and Moore algorithm and the new algorithm assume that the characters in the pattern and in the text are taken from a given

Pattern matching in historical data
โœ Michael C. Johannesmeyer; Ashish Singhal; Dale E. Seborg ๐Ÿ“‚ Article ๐Ÿ“… 2002 ๐Ÿ› American Institute of Chemical Engineers ๐ŸŒ English โš– 581 KB