ePrints@IIScePrints@IISc Home | About | Browse | Latest Additions | Advanced Search | Contact | Help

Overlap matching

Amir, Amihood and Cole, Richard and Hariharan, Ramesh and Lewenstein, Moshe and Porat, Ely (2003) Overlap matching. In: Information and Computation, 181 (1). pp. 57-74.

[img] PDF
sdarticle57.pdf - Published Version
Restricted to Registered users only

Download (270kB) | Request a copy
Official URL: http://www.sciencedirect.com/science?_ob=Publicati...


We propose a new paradigm for string matching, namely structural matching. In structural matching, the text and pattern contents are not important. Rather, some areas in the text and pattern, such as intervals, are singled out. A “match” is a text location where a specified relation between the text and pattern areas is satisfied. In particular we define the structural matching problem of overlap (parity) matching. We seek the text locations where all overlaps of the given pattern and text intervals have even length. We show that this problem can be solved in time O(nlogm), where the text length is n and the pattern length is m. As an application of overlap matching, we show how to reduce the string matching with swaps problem to the overlap matching problem. The string matching with swaps problem is the problem of string matching in the presence of local swaps. The best deterministic upper bound known for this problem was O(nm1/3logmlogσ) for a general alphabet Σ, where σ=min(m,|Σ|). Our reduction provides a solution to the pattern matching with swaps problem in time O(nlogmlogσ).

Item Type: Journal Article
Publication: Information and Computation
Publisher: Elsevier Science
Additional Information: Copyright of this article belongs to Elsevier Science.
Keywords: Design and analysis of algorithms;Combinatorial algorithms on words;Pattern matching;Pattern matching with swaps;Non-standard pattern matching.
Department/Centre: Division of Electrical Sciences > Computer Science & Automation
Date Deposited: 24 Nov 2009 08:09
Last Modified: 19 Sep 2010 04:55
URI: http://eprints.iisc.ac.in/id/eprint/17209

Actions (login required)

View Item View Item