Fast Sorting by Reversal
نویسندگان
چکیده
Analysis of genomes evolving by inversions leads to a combinatorial problem of sorting by reversals studied in detail recently. Following a series of work recently, Hannenhalli and Pevzner developed the rst polynomial algorithm for the problem of sorting signed permutations by reversals and proposed an O(n 4) implementation of the algorithm. In this paper we exploit a few combinatorial properties of the cycle graph of a permutation and propose an O(n 2 (n)) implementation of the algorithm where is the inverse Ackerman function. Besides making this algorithm practical, our technique improves implementations of the other rearrangement distance problems.
منابع مشابه
Estimating Genome Reversal Distance by Genetic Algorithm
Sorting by reversals is an important problem in inferring the evolutionary relationship between two genomes. The problem of sorting unsigned permutation has been proven to be NP-hard. The best guaranteed error bounded is the 3/2approximation algorithm. However, the problem of sorting signed permutation can be solved easily. Fast algorithms have been developed both for finding the sorting sequen...
متن کامل. C O ] 4 J ul 2 00 6 Prefix reversals on binary and ternary strings ⋆
Given a permutation π, the application of prefix reversal f (i) to π reverses the order of the first i elements of π. The problem of Sorting By Prefix Reversals (also known as pancake flipping), made famous by Gates and Papadimitriou (Bounds for sorting by prefix reversal, Discrete Mathematics 27, pp. 47-57), asks for the minimum number of prefix reversals required to sort the elements of a giv...
متن کاملVectorization of the Radix r Self-Sorting FFT
In this work we present a study of the vectorization of the fast Fourier transform. The algorithm we have considered is the radix r self-sorting algorithm which does not require additional data reordering stages (digit-reversal) as this process is inherently carried out during the execution of the algorithm. For obtainig the vectorized version of the algorithm we employ a formulation of the FFT...
متن کاملPrefix Reversals on Binary and Ternary Strings
Given a permutation π, the application of prefix reversal f (i) to π reverses the order of the first i elements of π. The problem of sorting by prefix reversals (also known as pancake flipping), made famous by Gates and Papadimitriou (Discrete Math., 27 (1979), pp. 47–57), asks for the minimum number of prefix reversals required to sort the elements of a given permutation. In this paper we stud...
متن کاملReversal Distances for Strings with Few Blocks or Small Alphabets
We study the String Reversal Distance problem, an extension of the well-known Sorting by Reversals problem. String Reversal Distance takes two strings S and T as input, and asks for a minimum number of reversals to obtain T from S. We consider four variants: String Reversal Distance, String Prefix Reversal Distance (in which any reversal must include the first letter of the string), and the sig...
متن کامل