Logo image
Prefix block-interchanges on binary strings
Conference paper   Peer reviewed

Prefix block-interchanges on binary strings

Shih-Wen Chou, Chung-Han Yang, Kun-Tze Chen and Chin Lung Lu
Frontiers in Artificial Intelligence and Applications, Vol.274, pp.1960-1969
2015

Abstract

algorithms binary strings block-interchanges prefix block-interchanges
A block-interchange acting on a string s exchanges two non-overlapping but not necessary adjacent substrings in s. A prefix block-interchange is a special block-interchange in which one of the two exchanged substrings is restricted to a prefix of s. In this study, we study the problem of sorting by prefix block-interchanges on binary strings, which is to find the minimum number of prefix block-interchanges to sort a given binary string. In addition, we study the problem of computing the prefix block-interchange distance between two binary strings, which is to compute the minimum number of prefix block-interchanges to transform a given binary string into another given binary string. Consequently, we design a linear-time algorithm to solve the problem of sorting by prefix block-interchange on binary strings and also show that the problem of computing the prefix block-interchange distance between two binary strings is NP-hard. © 2015 The authors and IOS Press. All rights reserved.

Metrics

1 Record Views

Details

Logo image