Skip to main content
QUICK REVIEW

[Paper Review] Adjacencies in Permutations

Bhadrachalam Chitturi, Krishnaveni K. S|arXiv (Cornell University)|Jan 18, 2016
Genome Rearrangement AlgorithmsBiochemistry, Genetics and Molecular Biology15 references5 citations
TL;DR

This paper proposes a framework to compute the number of permutations of size n with exactly k adjacencies (denoted |Pₙ(k)|) for four types of adjacency—normal, back-, front-, and front-and-back—efficiently in O(n²) time. It establishes a link between adjacency creation and block-move operations (e.g., prefix transpositions), showing that the expected number of new adjacencies created per move is approximately 1.5 for large n, enabling estimation of the expected number of moves to sort permutations.

ABSTRACT

A permutation on an alphabet $ Σ$, is a sequence where every element in $ Σ$ occurs precisely once. Given a permutation $ π$= ($π_{1} $, $ π_{2} $, $ π_{3} $,....., $ π_{n} $) over the alphabet $ Σ$ =$\{ $0, 1, . . . , n$-$1 $\}$ the elements in two consecutive positions in $ π$ e.g. $ π_{i} $ and $ π_{i+1} $ are said to form an \emph{adjacency} if $ π_{i+1} $ =$ π_{i} $+1. The concept of adjacencies is widely used in computation. The set of permutations over $ Σ$ forms a symmetric group, that we call P$ _{n} $. The identity permutation, I$ _{n}$ $\in$ P$_{n}$ where I$_{n}$ =(0,1,2,...,n$-$1) has exactly n$ - $1 adjacencies. Likewise, the reverse order permutation R$_{n} (\in P_{n})$=(n$-$1, n$-$2, n$-$3, n$-$4, ...,0) has no adjacencies. We denote the set of permutations in P$_{n} $ with exactly k adjacencies with P$_{n} $(k). We study variations of adjacency. % A transposition exchanges adjacent sublists; when one of the sublists is restricted to be a prefix (suffix) then one obtains a prefix (suffix) transposition. We call the operations: transpositions, prefix transpositions and suffix transpositions as block-moves. A particular type of adjacency and a particular block-move are closely related. In this article we compute the cardinalities of P$_{n}$(k) i.e. $ \forall_k \mid $P$ _{n} $ (k) $ \mid $ for each type of adjacency in $O(n^2)$ time. Given a particular adjacency and the corresponding block-move, we show that $\forall_{k} \mid P_{n}(k)\mid$ and the expected number of moves to sort a permutation in P$_{n} $ are closely related. Consequently, we propose a model to estimate the expected number of moves to sort a permutation in P$_{n} $ with a block-move. We show the results for prefix transposition. Due to symmetry, these results are also applicable to suffix transposition.

Motivation & Objective

  • To compute |Pₙ(k)|, the number of permutations of size n with exactly k adjacencies, for four types of adjacency: normal, back-, front-, and front-and-back.
  • To establish a theoretical framework linking adjacency creation to block-move operations such as prefix and suffix transpositions.
  • To estimate the expected number of moves required to sort a random permutation in Pₙ using block-moves, leveraging the computed adjacency distributions.
  • To show that the number of irreducible permutations in Pₙ is Θ(n!), indicating a large and non-trivial set of permutations to analyze.

Proposed method

  • Uses recurrence relations and dynamic programming to compute |Pₙ(k)| for all k in O(n²) time, with separate handling for each adjacency type.
  • Defines four adjacency types: type 1 (normal), type 2 (back-adjacency), type 3 (front-adjacency), and type 4 (front-and-back-adjacency), each with distinct boundary conditions.
  • Applies a reduction process that eliminates maximal blocks of consecutive adjacencies by replacing them with a single representative and adjusting larger values, yielding irreducible permutations.
  • Derives the probability σ of creating a double adjacency (two new adjacencies) in a single block-move, showing σ ≈ 0.5 for large n, leading to an expected 1 + σ ≈ 1.5 new adjacencies per move.
  • Uses symmetry between mirror permutations to reduce computation, as mirrored permutations have identical adjacency counts and move requirements.
  • Employs a predictive model based on computed values of |Pⱼ(0)| for j ≤ i to estimate E(Pₙ), the expected number of moves to sort permutations in Pₙ, in O(n²) time.

Experimental results

Research questions

  • RQ1What is the cardinality |Pₙ(k)| of permutations of size n with exactly k adjacencies for each of the four adjacency types?
  • RQ2How are block-moves such as prefix transpositions related to the creation of adjacencies in permutations?
  • RQ3What is the expected number of new adjacencies created per block-move, and how does this relate to the expected number of moves to sort a permutation?
  • RQ4Can a model be constructed to estimate E(Pₙ), the expected number of moves to sort a permutation in Pₙ, using only smaller-scale computations of |Pⱼ(0)| for j < n?
  • RQ5How accurate is the proposed model for estimating E(Pₙ) as n increases, especially for n > 9 where direct computation is infeasible?

Key findings

  • The cardinality |Pₙ(k)| for all k can be computed in O(n²) time for each of the four adjacency types.
  • The expected number of new adjacencies created per block-move (e.g., prefix transposition) is 1 + σ, where σ ≈ 0.5 for large n, resulting in an expected 1.5 new adjacencies per move.
  • The probability σ of creating a double adjacency (two new adjacencies) in a move is derived as σ = 1/2 − 2/(n(n−1)), which asymptotically approaches 0.5.
  • The number of irreducible permutations in Pₙ is Θ(n!), confirming that the set of permutations with no adjacencies is exponentially large and structurally significant.
  • The model for estimating E(Pₙ), the expected number of moves to sort permutations, runs in O(n²) time and becomes more accurate as n increases.
  • Due to symmetry, results for prefix transpositions apply directly to suffix transpositions, extending the framework’s applicability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.