Click or drag to resize

Permutation Methods

The Permutation type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetInverse(IntegerArray)
Inverts the permutation.
Public methodStatic memberGetInverse(IntegerArray, IntegerArray)
Inverts the permutation.
Public methodStatic memberIsValidPermutation
Checks whether the given permutation is valid.
Public methodStatic memberIsValidTranspositions
Checks whether the given permutation encoded as the set of transpositions is valid.
Public methodStatic memberPermutationToTranspositions(IntegerArray)
Converts the permutation to the set of transpositions.
Public methodStatic memberPermutationToTranspositions(IntegerArray, IntegerArray)
Converts the permutation to the set of transpositions.
Public methodStatic memberRandom(Int32, RandomGenerator)
Generates random permutation.
Public methodStatic memberRandom(Int32, Random)
Generates random permutation.
Public methodStatic memberTranspositionsToPermutation(IntegerArray)
Converts the set of transpositions to the permutation.
Public methodStatic memberTranspositionsToPermutation(IntegerArray, IntegerArray)
Converts the set of transpositions to the permutation.
Top
See Also