paper

Diameter Bounds for Friends-and-Strangers Graphs

arXiv:2509.23511

Abstract

Consider two -vertex graphs and , where we interpret as a social network with edges representing friendships and as a movement graph with edges representing adjacent positions. The friends-and-strangers graph is a graph on the permutations , 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 . 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 is polynomially bounded when both the friendship and the movement graphs have large minimum degree. Second, when both the underlying graphs and are Erdős-Rényi random graphs, we show that the distance between any pair of configurations is almost always polynomially bounded under certain conditions on the edge probabilities.

14 pages, 1 figure

Diameter Bounds for Friends-and-Strangers Graphs · wovepaper