Permutation Methods |
The Permutation type exposes the following members.
| Name | Description | |
|---|---|---|
| GetInverse(IntegerArray) |
Inverts the permutation.
| |
| GetInverse(IntegerArray, IntegerArray) |
Inverts the permutation.
| |
| IsValidPermutation |
Checks whether the given permutation is valid.
| |
| IsValidTranspositions |
Checks whether the given permutation encoded as the set of transpositions is valid.
| |
| PermutationToTranspositions(IntegerArray) |
Converts the permutation to the set of transpositions.
| |
| PermutationToTranspositions(IntegerArray, IntegerArray) |
Converts the permutation to the set of transpositions.
| |
| Random(Int32, RandomGenerator) |
Generates random permutation.
| |
| Random(Int32, Random) |
Generates random permutation.
| |
| TranspositionsToPermutation(IntegerArray) |
Converts the set of transpositions to the permutation.
| |
| TranspositionsToPermutation(IntegerArray, IntegerArray) |
Converts the set of transpositions to the permutation.
|