PermutationCollectionT(IListT) Constructor
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
Namespace: DevCase.Core.Math.CombinatoricsAssembly: 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
)
Public Sub New (
values As IList(Of T)
)
Dim values As IList(Of T)
Dim instance As New PermutationCollection(values)
public:
PermutationCollection(
IList<T>^ values
)
new :
values : IList<'T> -> PermutationCollection
No code example is currently available or this language may not be supported.
Parameters
- values IListT
-
List of values to permute.