Combinatorica`
Combinatorica`
MinimumChangePermutations
constructs all permutations of list l such that adjacent permutations differ by only one transposition.
更多信息和选项
- To use MinimumChangePermutations, you first need to load the Combinatorica Package using Needs["Combinatorica`"].