Model.Greater Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Tests whether all inputs occur in decreasing order.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function Greater ( _
ParamArray terms As Term() _
) As Term
public static Term Greater(
params Term[] terms
)
public:
static Term^ Greater(
... array<Term^>^ terms
)
static member Greater :
terms:Term[] -> Term
public static function Greater(
... terms : Term[]
) : Term
Parameters
- terms
Type: array<Microsoft.SolverFoundation.Services.Term[]
A group of decisions, formulas, goals, or constraints to test.
Return Value
Type: Microsoft.SolverFoundation.Services.Term
1 if the inputs occur in decreasing order; otherwise, 0.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The operation is not valid for the given inputs. |
.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.