Model.Implies Method

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

Tests for logical implication between two inputs.

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

Syntax

'Declaration
Public Shared Function Implies ( _
    antecedent As Term, _
    consequence As Term _
) As Term
public static Term Implies(
    Term antecedent,
    Term consequence
)
public:
static Term^ Implies(
    Term^ antecedent, 
    Term^ consequence
)
static member Implies : 
        antecedent:Term * 
        consequence:Term -> Term 
public static function Implies(
    antecedent : Term, 
    consequence : Term
) : Term

Parameters

Return Value

Type: Microsoft.SolverFoundation.Services.Term
1 if the antecedent is false (zero) or the consequence is true (nonzero); otherwise, 0.

Exceptions

Exception Condition
ArgumentException

The operation is not valid for the given inputs.

Remarks

Logical implication means that if A is true, then B is also true.

.NET Framework Security

See Also

Reference

Model Class

Microsoft.SolverFoundation.Services Namespace