ConstraintSystem.CreateIntegerInterval 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.]

Creates an integer domain.

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

public CspDomain CreateIntegerInterval(
	int first,
	int last
)

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].

Show: