A linear-time algorithm for computing inversion distance between signed permutations with an experimental study

David A. Bader, Bernard M.E. Moret, Mi Yan

Research output: Chapter in Book/Report/Conference proceedingConference contribution

35 Scopus citations

Abstract

Hannenhalli and Pevzner gave the first polynomial-time algorithm for computing the inversion distance between two signed permutations, as part of the larger task of determining the shortest sequence of inversions needed to transform one permutation into the other. Their algorithm (restricted to distance calculation) proceeds in two stages: in the first stage, the overlap graph induced by the permutation is decomposed into connected components, then in the second stage certain graph structures (hurdles and others) are identified. Berman and Hannenhalli avoided the explicit computation of the overlap graph and gave an O(nα(n)) algorithm, based on a Union-Find structure, to find its connected components, where α is the inverse Ackerman function. Since for all practical purposes α(n) is a constant no larger than four, this algorithm has been the fastest practical algorithm to date. In this paper, we present a new linear-time algorithm for computing the connected components, which is more efficient than that of Berman and Hannenhalli in both theory and practice. Our algorithm uses only a stack and is very easy to implement. We give the results of computational experiments over a large range of permutation pairs produced through simulated evolution; our experiments show a speed-up by a factor of 2 to 5 in the computation of the connected components and by a factor of 1.3 to 2 in the overall distance computation.

Original languageEnglish (US)
Title of host publicationAlgorithms and Data Structures - 7th International Workshop, WADS 2001, Proceedings
EditorsFrank Dehne, Jorg-Rudiger Sack, Roberto Tamassia
PublisherSpringer Verlag
Pages365-376
Number of pages12
ISBN (Print)3540424237, 9783540424239
DOIs
StatePublished - 2001
Externally publishedYes
Event7th International Workshop on Algorithms and Data Structures, WADS 2001 - Providence, United States
Duration: Aug 8 2001Aug 10 2001

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume2125
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference7th International Workshop on Algorithms and Data Structures, WADS 2001
Country/TerritoryUnited States
CityProvidence
Period8/8/018/10/01

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'A linear-time algorithm for computing inversion distance between signed permutations with an experimental study'. Together they form a unique fingerprint.

Cite this