CombinationsGenerator
Undocumented
-
Generate combinations for provided input values.
Declaration
Swift
public func combinations(forValues values: Matrix) -> MatrixParameters
valuesThe 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
valuesThe input values used to generate combinations.
assertCombinationThe 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
valuesThe input values used to generate combinations.
assertCombinationThe closure which will be invoked for every generated combination.
View on GitHub
CombinationsGenerator Class Reference