ConstraintSolverParams Class

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

Defines the search strategy for constraint satisfaction programming (CSP).

Inheritance Hierarchy

System.Object
  Microsoft.SolverFoundation.Solvers.ConstraintSolverParams

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

Syntax

'Declaration
Public NotInheritable Class ConstraintSolverParams _
    Implements ISolverParameters, ISolverEvents
public sealed class ConstraintSolverParams : ISolverParameters, 
    ISolverEvents
public ref class ConstraintSolverParams sealed : ISolverParameters, 
    ISolverEvents
[<Sealed>]
type ConstraintSolverParams =  
    class
        interface ISolverParameters
        interface ISolverEvents
    end
public final class ConstraintSolverParams implements ISolverParameters, ISolverEvents

The ConstraintSolverParams type exposes the following members.

Constructors

  Name Description
Public method ConstraintSolverParams() Initializes a new instance of the ConstraintSolverParams class.
Public method ConstraintSolverParams(Collection<CspTerm>) Initializes a new instance of the ConstraintSolverParams class.
Public method ConstraintSolverParams(Directive) Initializes a new instance of the ConstraintSolverParams class.

Top

Properties

  Name Description
Public property Abort Returns a value that indicates whether the solver should stop.
Public property Algorithm Gets or sets the class of algorithm to use.
Public property ElapsedMilliSec Gets the completion time for the most recent solution.
Public property EnumerateInterimSolutions Returns a value that indicates whether to enumerate interim solutions or only optimal solutions.
Public property MoveSelection Gets or sets the heuristic for move selection.
Public property QueryAbort Gets or sets the callback function to decide when to stop the computation.
Public property RestartEnabled Returns a value that indicates whether restarts are enabled.
Public property Solving Gets or sets the callback function that is called during the solve process.
Public property TimeLimitMilliSec Gets or sets the limit for CPU time.
Public property UserOrderVariables Gets or sets a list of variables to search breadth-first in priority order.
Public property ValueSelection Gets or sets the heuristic for value ordering.
Public property VariableSelection Gets or sets the heuristic for variable ordering.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SolverFoundation.Solvers Namespace