English

Structural and Combinatorial Properties of 2-swap Word Permutation Graphs

Combinatorics 2024-06-28 v3 Discrete Mathematics Data Structures and Algorithms

Abstract

In this paper, we study the graph induced by the 2-swap\textit{2-swap} permutation on words with a fixed Parikh vector. A 22-swap is defined as a pair of positions s=(i,j)s = (i, j) where the word ww induced by the swap ss on vv is v[1]v[2]v[i1]v[j]v[i+1]v[j1]v[i]v[j+1]v[n]v[1] v[2] \dots v[i - 1] v[j] v[i+1] \dots v[j - 1] v[i] v[j + 1] \dots v[n]. With these permutations, we define the Configuration Graph\textit{Configuration Graph}, G(P)G(P) defined over a given Parikh vector. Each vertex in G(P)G(P) corresponds to a unique word with the Parikh vector PP, with an edge between any pair of words vv and ww if there exists a swap ss such that vs=wv \circ s = w. We provide several key combinatorial properties of this graph, including the exact diameter of this graph, the clique number of the graph, and the relationships between subgraphs within this graph. Additionally, we show that for every vertex in the graph, there exists a Hamiltonian path starting at this vertex. Finally, we provide an algorithm enumerating these paths from a given input word of length nn with a delay of at most O(logn)O(\log n) between outputting edges, requiring O(nlogn)O(n \log n) preprocessing.

Keywords

Cite

@article{arxiv.2307.01648,
  title  = {Structural and Combinatorial Properties of 2-swap Word Permutation Graphs},
  author = {Duncan Adamson and Nathan Flaherty and Igor Potapov and Paul G. Spirakis},
  journal= {arXiv preprint arXiv:2307.01648},
  year   = {2024}
}

Comments

27 Pages, Published at LATIN 2024

R2 v1 2026-06-28T11:21:45.516Z