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

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 CombinationCollection(
	IList<T> values,
	int lowerIndex,
	MetaCollectionType type
)

Parameters

values  IListT
List of values to select combinations from.
lowerIndex  Int32
The size of each combination set to return.
type  MetaCollectionType
The type of Combinations set to generate.

See Also