Abstract

We consider the problem BLOCK-SORTING: Given a permutation, sort it by using a minimum number of block moves, where a block is a maximal substring of the permutation which is also a substring of the identity permutation, and a block move repositions the chosen block so that it merges with another block. Although this problem has recently been shown to be NP-hard [3], nothing better than a trivial 3-approximation was known. We present here the first non-trivial approximation algorithm to this problem. For this purpose, we introduce the following optimization problem: Given a set of increasing sequences of distinct elements, merge them into one increasing sequence with a minimum number of block moves. We show that the merging problem has a polynomial time algorithm. Using this, we obtain an O(n3) time 2-approximation algorithm for BLOCK-SORTING. We also observe that BLOCK-SORTING, as well as sorting by transpositions, are fixed-parameter-tractable in the framework of [6].

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.