Abstract
There is no known algorithm that solves the general case of the approximate edit distance problem, where the edit operations are insertion, deletion, mismatch, and swap, in time o(nm), where n is the length of the text and m is the length of the pattern. In the effort to study this problem, the edit operations have been analyzed independently. Karloff [10] showed an algorithm that approximates the edit distance problem with only the mismatch operation in time O(12nlog3m). Amir et al. [4] showed that if the only edit operations allowed are swap and mismatch, then the exact edit distance problem can be solved in time O(nmlogm). In this paper, we discuss the problem of approximate edit distance with swap and mismatch. We show a randomized O(13nlognlog3m) time algorithm for the problem. The algorithm guarantees an approximation factor of (1+) with probability of at least 1-1n.
Original language | English |
---|---|
Pages (from-to) | 3814-3822 |
Number of pages | 9 |
Journal | Theoretical Computer Science |
Volume | 411 |
Issue number | 43 |
DOIs | |
State | Published - 9 Oct 2010 |
Bibliographical note
Funding Information:This research was supported by BSF and ISF. Corresponding author. Tel.: +972 3 531 8866; fax: +972 3 736 0498.
Funding
This research was supported by BSF and ISF. Corresponding author. Tel.: +972 3 531 8866; fax: +972 3 736 0498.
Funders | Funder number |
---|---|
United States-Israel Binational Science Foundation | |
Israel Science Foundation |
Keywords
- Edit operations
- Mismatch
- Pattern matching
- Swap