Combinatorica`
Combinatorica`
MinimumChangePermutations
constructs all permutations of list l such that adjacent permutations differ by only one transposition.
Details and Options
- To use MinimumChangePermutations, you first need to load the Combinatorica Package using Needs["Combinatorica`"].