Interchange rearrangement: The element-cost model

Abstract Given an input string S and a target string T when S is a permutation of T , the interchange rearrangement problem is to apply on S a sequence of interchanges, such that S is transformed into T . The interchange operation exchanges the position of the two elements on which it is applied. The goal is to transform S into T at the minimum cost possible, referred to as the distance between S and T . The distance can be defined by several cost models that determine the cost of every operation. There are two known models: The Unit-cost model and the Length-cost model. In this paper, we suggest a natural cost model: The Element-cost model. In this model, the cost of an operation is determined by the elements that participate in it. Though this model has been studied in other fields, it has never been considered in the context of rearrangement problems. We consider both the special case where all elements in S and T are distinct, referred to as a permutation string, and the general case, referred to as a general string. An efficient optimal algorithm for the permutation string case and efficient approximation algorithms for the general string case, which is N P -hard, are presented. The study is broadened to include the transposition rearrangement problem under the Element-cost model and under the other known models, in order to provide additional perspective on the new model.

[1]  Lenwood S. Heath,et al.  Sorting by Short Swaps , 2003, J. Comput. Biol..

[2]  Amit Kumar,et al.  Sorting and selection with structured costs , 2001, Proceedings 2001 IEEE International Conference on Cluster Computing.

[3]  Piotr Indyk,et al.  Efficient Computations of l1 and linfinity Rearrangement Distances , 2007, SPIRE.

[4]  Piotr Berman,et al.  Fast Sorting by Reversal , 1996, CPM.

[5]  Tzvika Hartman,et al.  A 1.375-Approximation Algorithm for Sorting by Transpositions , 2005, IEEE/ACM Transactions on Computational Biology and Bioinformatics.

[6]  Ely Porat,et al.  On the Cost of Interchange Rearrangement in Strings , 2007, SIAM J. Comput..

[7]  Vineet Bafna,et al.  Sorting by Transpositions , 1998, SIAM J. Discret. Math..

[8]  Yonatan Aumann,et al.  Approximate string matching with address bit errors , 2008, Theor. Comput. Sci..

[9]  Steven Skiena,et al.  Pattern matching with address errors: rearrangement distances , 2006, SODA 2006.

[10]  Dan Gusfield,et al.  Algorithms on Strings, Trees, and Sequences - Computer Science and Computational Biology , 1997 .

[11]  David A. Christie,et al.  Sorting Permutations by Block-Interchanges , 1996, Inf. Process. Lett..

[12]  Andrew McGregor,et al.  Sorting and Selection with Random Costs , 2007, LATIN.

[13]  Lenwood S. Heath,et al.  Sorting by Bounded Block-moves , 1998, Discret. Appl. Math..

[14]  Arthur Cayley The Collected Mathematical Papers: Note on the Theory of Permutations , 2009 .