CspComposite.AtMostMofN Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Tests that at most m inputs are true.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function AtMostMofN ( _
m As Integer, _
ParamArray inputs As CspTerm() _
) As CspTerm
public CspTerm AtMostMofN(
int m,
params CspTerm[] inputs
)
public:
CspTerm^ AtMostMofN(
int m,
... array<CspTerm^>^ inputs
)
member AtMostMofN :
m:int *
inputs:CspTerm[] -> CspTerm
public function AtMostMofN(
m : int,
... inputs : CspTerm[]
) : CspTerm
Parameters
- m
Type: System.Int32
The maximum number of inputs that are true.
- inputs
Type: array<Microsoft.SolverFoundation.Solvers.CspTerm[]
An array of terms.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
true if at most m inputs are true; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.