| Literature DB >> 21504604 |
Krister M Swenson1, Ghada Badr, David Sankoff.
Abstract
We describe an average-case O(n2) algorithm to list all reversals on a signed permutation π that, when applied to π, produce a permutation that is closer to the identity. This algorithm is optimal in the sense that, the time it takes to write the list is Ω(n2) in the worst case.Entities:
Year: 2011 PMID: 21504604 PMCID: PMC3110122 DOI: 10.1186/1748-7188-6-11
Source DB: PubMed Journal: Algorithms Mol Biol ISSN: 1748-7188 Impact factor: 1.405
Figure 1Two breakpoint graphs. The breakpoint graphs for a) π = (-1 2 4-5 6 8-7-3) and b) π ○ ρ(6, 8). The direction that reality edges are traversed on a tour of the cycles is labeled with arrows. ρ(6, 8) is an unsafe reversal on π.
Figure 2Running times. Average running times on random permutations of Siepel and the ominous substrings algorithms for 100 ≤ n ≤ 1000.