• Positions of tokens | • Permutation in $S_n$ |
• Graph edge | • Transposition (swap) |
• Configuration space | • Cayley graph |
• Reconfiguration | • Path in Cayley graph |
https://commons.wikimedia.org/wiki/File:Symmetric_group_4;_Cayley_graph_1,2,6_(1-based).png |
Path graph | Sorting by swapping adjacent elements |
Min number of swaps | Number of inversions / cost of bubble sort |