ConstraintSystem.CreateSolver Method (Func, Void, Boolean)

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

Creates an instance of the solver.

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

Syntax

'Declaration
Public Shared Function CreateSolver ( _
    fnQueryAbort As Func, _
    cmp As Void, _
    precision As Boolean _
) As ConstraintSystem
public static ConstraintSystem CreateSolver(
    Func fnQueryAbort,
    void cmp,
    bool precision
)
public:
static ConstraintSystem^ CreateSolver(
    Func^ fnQueryAbort, 
    void cmp, 
    bool precision
)
static member CreateSolver : 
        fnQueryAbort:Func * 
        cmp:unit * 
        precision:bool -> ConstraintSystem 
public static function CreateSolver(
    fnQueryAbort : Func, 
    cmp : Void, 
    precision : boolean
) : ConstraintSystem

Parameters

  • fnQueryAbort
    Type: System.Func<TResult>
    A function that is called periodically through the computation to determine if the user has cancelled the operation.
  • cmp
    Type: System.Void
    A collection that maps keys to values.

Return Value

Type: Microsoft.SolverFoundation.Solvers.ConstraintSystem
An instance of a solver.

.NET Framework Security

See Also

Reference

ConstraintSystem Class

CreateSolver Overload

Microsoft.SolverFoundation.Solvers Namespace