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

Gets the value of a variable in a solution.

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

public double GetDoubleValue(
	CspTerm variable
)

Parameters

variable
Type: Microsoft.SolverFoundation.Solvers.CspTerm
A variable for the CSP solver.

Return Value

Type: System.Double
The value of a variable in a solution.

Show: