Structural and Combinatorial Properties of 2-swap Word Permutation Graphs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Adamson, Duncan, Flaherty, Nathan, Potapov, Igor, Spirakis, Paul G.
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911934241046528
author Adamson, Duncan
Flaherty, Nathan
Potapov, Igor
Spirakis, Paul G.
author_facet Adamson, Duncan
Flaherty, Nathan
Potapov, Igor
Spirakis, Paul G.
contents In this paper, we study the graph induced by the $\textit{2-swap}$ permutation on words with a fixed Parikh vector. A $2$-swap is defined as a pair of positions $s = (i, j)$ where the word $w$ induced by the swap $s$ on $v$ is $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 $\textit{Configuration Graph}$, $G(P)$ defined over a given Parikh vector. Each vertex in $G(P)$ corresponds to a unique word with the Parikh vector $P$, with an edge between any pair of words $v$ and $w$ if there exists a swap $s$ such that $v \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 $n$ with a delay of at most $O(\log n)$ between outputting edges, requiring $O(n \log n)$ preprocessing.
format Preprint
id arxiv_https___arxiv_org_abs_2307_01648
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Structural and Combinatorial Properties of 2-swap Word Permutation Graphs
Adamson, Duncan
Flaherty, Nathan
Potapov, Igor
Spirakis, Paul G.
Combinatorics
Discrete Mathematics
Data Structures and Algorithms
G.2.1; G.2.2
In this paper, we study the graph induced by the $\textit{2-swap}$ permutation on words with a fixed Parikh vector. A $2$-swap is defined as a pair of positions $s = (i, j)$ where the word $w$ induced by the swap $s$ on $v$ is $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 $\textit{Configuration Graph}$, $G(P)$ defined over a given Parikh vector. Each vertex in $G(P)$ corresponds to a unique word with the Parikh vector $P$, with an edge between any pair of words $v$ and $w$ if there exists a swap $s$ such that $v \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 $n$ with a delay of at most $O(\log n)$ between outputting edges, requiring $O(n \log n)$ preprocessing.
title Structural and Combinatorial Properties of 2-swap Word Permutation Graphs
topic Combinatorics
Discrete Mathematics
Data Structures and Algorithms
G.2.1; G.2.2
url https://arxiv.org/abs/2307.01648