Abstract
In this paper, we consider the edit distance with block moves, block copies and block deletions, which is shown to be NP-hard, and employ a simple left-to-right greedy sliding window algorithm that achieves a constant factor approximation ratio of 5. This is an improvement on the constant approximation of 12 presented by Ergun and Sahinalp (Ergün, F., Muthukrishnan, S., and Sahinalp, S. C. Comparing sequences with segment rearrangements. FST TCS 2003: Foundations of Software Technology and Theoretical Computer Science), and is achieved by a proof that introduces two non-trivial kinds of substrings for different purposes, so recursive and non-recursive operations can be treated at the same time.
Original language | English |
---|---|
Article number | 5 |
Pages (from-to) | 657-669 |
Number of pages | 13 |
Journal | Computer Journal |
Volume | 62 |
Issue number | 5 |
DOIs | |
State | Published - May 2019 |
Keywords
- approximation algorithm
- constant factor approximation
- edit distance
All Science Journal Classification (ASJC) codes
- General Computer Science