Combination.Pairwise Method

Indicates that the given variables, parameters, or expressions are in pairwise interaction, and for each pair of 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)

Usage

'Usage

Syntax

'Declaration
public static void Pairwise (
    params Object[] values
)

Parameters

  • values
    The set of values that are in pairwise interaction.

Exceptions

Exception type Condition
ArgumentException

values contains fewer than two elements.

Remarks

The statement Pairwise(x, y, z); is equivalent to the combined statements Interaction(x,y); Interaction(x,z); Interaction(y,z);, and is also equivalent to the statement NWise(2,x,y,z);.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

Combination Class
Combination Members
Microsoft.Modeling Namespace
Combination.Interaction Method
PairwiseDeep
Combination.NWise Method
Combination.NWiseDeep Method

Other Resources

Parameter Generation