Export (0) Print
Expand All

ConstraintSystem.CreateVariable Method (CspDomain)

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 a finite variable with a given domain and auto-generated key.

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

public CspTerm CreateVariable(
	CspDomain domain
)

Parameters

domain
Type: Microsoft.SolverFoundation.Solvers.CspDomain
A domain for the variable.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
A finite variable with a given domain and auto-generated key.

Show:
© 2015 Microsoft