Combination.NWise Method
Indicates that the given variables, parameters, or expressions are in n-wise interaction, and for each subset of n values in the set of values Spec Explorer should produce a full Cartesian product space.
Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)
Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)
| Exception type | Condition |
|---|---|
| ArgumentException | values contains less than n elements. |
For n equal to two, the NWise method is equivalent to the Pairwise method. For n equal to the number of elements in values, the NWise method is equivalent to the Interaction method.
The statement NWise(3, w, x, y, z); is equivalent to the combined statements Interaction(w,x,y); Interaction(w,x,z); Interaction(w,y,z); Interaction(x,y,z);.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Development Platforms
Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003
Community Additions
ADD
Show: