Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ConstraintSystem.FilteredSum Method

Solver Foundation 3.0

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

Adds the conditional inputs.

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

public CspTerm FilteredSum(
	CspTerm[] conditions,
	CspTerm[] inputs
)

Parameters

conditions
Type: Microsoft.SolverFoundation.Solvers.CspTerm[]
An array of terms that represents conditions.
inputs
Type: Microsoft.SolverFoundation.Solvers.CspTerm[]
An array of terms.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
A term that represents the sum of the conditional inputs.

The inputs must be of equal length.

Show:
© 2015 Microsoft