CombinationCollectionT(IListT, Int32) Constructor
Initializes a new instance of the
CombinationCollectionT class.
Create a combination set from the provided list of values.
The upper index is calculated as
values.Count, the lower index is user specified.
Collection 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 CombinationCollection(
IList<T> values,
int lowerIndex
)
Public Sub New (
values As IList(Of T),
lowerIndex As Integer
)
Dim values As IList(Of T)
Dim lowerIndex As Integer
Dim instance As New CombinationCollection(values,
lowerIndex)
public:
CombinationCollection(
IList<T>^ values,
int lowerIndex
)
new :
values : IList<'T> *
lowerIndex : int -> CombinationCollection
No code example is currently available or this language may not be supported.
Parameters
- values IListT
-
List of values to select combinations from.
- lowerIndex Int32
-
The size of each combination set to return.