Logo image
二元字串的字首區段互換
Thesis

二元字串的字首區段互換

周世文
Masters, 國立清華大學, 資訊工程學系
2013

Abstract

演算法 區段互換 字首區段互換 二元字串 algorithms block-interchanges prefix block-interchanges binary strings
A block-interchange acting on a string ? exchanges two non-overlapping but not necessary adjacent substrings in ?. A prefix block-interchange is a special block-interchange in which one of the two exchanged substrings is restricted to a prefix of ?. In this thesis, 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.

Metrics

1 Record Views

Details

Logo image