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 | |
---|---|---|
ConstraintSolverParams() | Initializes a new instance of the ConstraintSolverParams class. | |
ConstraintSolverParams(Collection<CspTerm>) | Initializes a new instance of the ConstraintSolverParams class. | |
ConstraintSolverParams(Directive) | Initializes a new instance of the ConstraintSolverParams class. |
Top
Properties
Name | Description | |
---|---|---|
Abort | Returns a value that indicates whether the solver should stop. | |
Algorithm | Gets or sets the class of algorithm to use. | |
ElapsedMilliSec | Gets the completion time for the most recent solution. | |
EnumerateInterimSolutions | Returns a value that indicates whether to enumerate interim solutions or only optimal solutions. | |
MoveSelection | Gets or sets the heuristic for move selection. | |
QueryAbort | Gets or sets the callback function to decide when to stop the computation. | |
RestartEnabled | Returns a value that indicates whether restarts are enabled. | |
Solving | Gets or sets the callback function that is called during the solve process. | |
TimeLimitMilliSec | Gets or sets the limit for CPU time. | |
UserOrderVariables | Gets or sets a list of variables to search breadth-first in priority order. | |
ValueSelection | Gets or sets the heuristic for value ordering. | |
VariableSelection | Gets or sets the heuristic for variable ordering. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.