English

Diameter Bounds for Friends-and-Strangers Graphs

Combinatorics 2026-02-10 v2 Discrete Mathematics Probability

Abstract

Consider two nn-vertex graphs XX and YY, where we interpret XX as a social network with edges representing friendships and YY as a movement graph with edges representing adjacent positions. The friends-and-strangers graph FS(X,Y)\mathsf{FS}(X,Y) is a graph on the n!n! permutations V(X)V(Y)V(X)\to V(Y), where two configurations are adjacent if and only if one can be obtained from the other by swapping two friends located on adjacent positions. Friends-and-strangers graphs were first introduced by Defant and Kravitz, and generalize sliding puzzles as well as token swapping problems. Previous work has largely focused on their connectivity properties. In this paper, we study the diameter of the connected components of FS(X,Y)\mathsf{FS}(X, Y). We extend the result of Kornhauser, Miller, and Spirakis on sliding puzzles to general graphs in two ways. First, we show that the diameter of FS(X,Y)\mathsf{FS}(X, Y) is polynomially bounded when both the friendship and the movement graphs have large minimum degree. Second, when both the underlying graphs XX and YY are Erd\H{o}s-R\'enyi random graphs, we show that the distance between any pair of configurations is almost always polynomially bounded under certain conditions on the edge probabilities.

Keywords

Cite

@article{arxiv.2509.23511,
  title  = {Diameter Bounds for Friends-and-Strangers Graphs},
  author = {Amogh Akella and Rupert Li},
  journal= {arXiv preprint arXiv:2509.23511},
  year   = {2026}
}

Comments

14 pages, 1 figure

R2 v1 2026-07-01T06:01:35.502Z