CombinationsGenerator
Undocumented
-
Generate combinations for provided input values.
Declaration
Swift
public func combinations(forValues values: Matrix) -> Matrix
Parameters
values
The input values used to generate combinations.
Return Value
A matrix of generated combinations.
-
Generate combinations for provided input values.
Declaration
Swift
public func combinations(forValues values: Matrix, assertCombination: ([AnyObject]) -> Void)
Parameters
values
The input values used to generate combinations.
assertCombination
The closure which will be invoked for every generated combination.
-
Generate combinations for provided input values.
Declaration
Swift
public static func combinations(forValues values: Matrix, assertCombination: ([AnyObject]) -> Void)
Parameters
values
The input values used to generate combinations.
assertCombination
The closure which will be invoked for every generated combination.