Interchange Rearrangement: The Element-Cost Model

  • Authors:
  • Oren Kapah;Gad M. Landau;Avivit Levy;Nitsan Oz

  • Affiliations:
  • Department of Computer Science, Bar Ilan University, Ramat Gan, Israel 52900;Department of Computer Science, University of Haifa, Haifa, Israel 31905;CRI, University of Haifa, Haifa, Israel 31905 and Shenkar College, Ramat Gan, Israel 52526;Department of Computer Science, University of Haifa, Haifa, Israel 31905

  • Venue:
  • SPIRE '08 Proceedings of the 15th International Symposium on String Processing and Information Retrieval
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

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 $\cal{NP}$-hard, are presented.