ConstraintSystem.CreateIntegerInterval Method

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

Creates an integer domain.

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

Syntax

'Declaration
Public Function CreateIntegerInterval ( _
    first As Integer, _
    last As Integer _
) As CspDomain
public CspDomain CreateIntegerInterval(
    int first,
    int last
)
public:
CspDomain^ CreateIntegerInterval(
    int first, 
    int last
)
member CreateIntegerInterval : 
        first:int * 
        last:int -> CspDomain 
public function CreateIntegerInterval(
    first : int, 
    last : int
) : CspDomain

Parameters

  • first
    Type: System.Int32
    The lower bound of the integer domain.
  • last
    Type: System.Int32
    The upper bound of the integer domain.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspDomain
An integer domain with interval [first .. last].

.NET Framework Security

See Also

Reference

ConstraintSystem Class

Microsoft.SolverFoundation.Solvers Namespace