ConstraintSystem.Equal Method (Int32, CspTerm[])

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Tests if all inputs are equal to a constant.

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public CspTerm Equal(
	int constant,
	params CspTerm[] inputs
)

Parameters

constant
Type: System.Int32
A constant.
inputs
Type: Microsoft.SolverFoundation.Solvers.CspTerm[]
An array of terms.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
true if all inputs are equal to a constant; otherwise, false.

Show: