PermutationCollectionT Constructor

Overload List

PermutationCollectionT(IListT) Initializes a new instance of the PermutationCollectionT class.

Create a permutation set from the provided list of values.

The values T must implement IComparable.

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

The repetition type defaults to WithoutRepetition

PermutationCollectionT(IListT, MetaCollectionType) 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.

PermutationCollectionT(IListT, IComparerT) 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

See Also