PermutationCollectionT(IListT, IComparerT) Constructor

Initializes a new instance of the PermutationCollectionT class.

Create a permutation set from the provided list of values.

The values will be compared using the supplied IComparer.

The repetition type defaults to WithoutRepetition

Definition

Namespace: DevCase.Core.Math.Combinatorics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public PermutationCollection(
	IList<T> values,
	IComparer<T> comparer
)

Parameters

values  IListT
List of values to permute.
comparer  IComparerT
Comparer used for defining the lexigraphic order.

See Also