• Positions of tokens | • Permutation in $S_n$ |
• Graph edge | • Transposition (swap) |
• Configuration space | • Cayley graph |
• Reconfiguration | • Path in Cayley graph |
![]() |
Path graph | Sorting by swapping adjacent elements |
Min number of swaps | Number of inversions / cost of bubble sort |