PermutationCollectionT(IListT, MetaCollectionType) Constructor

Initializes a new instance of the PermutationCollectionT class.

Create a permutation set from the provided list of values.

If type is WithoutRepetition, then values (T) must implement IComparable.

If T does not implement IComparable use a constructor with an explict IComparer.

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,
	MetaCollectionType type
)

Parameters

values  IListT
List of values to permute.
type  MetaCollectionType
The type of permutation set to calculate.

See Also