ConstraintProgrammingDirective Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
A directive for the constraint satisfaction programming (CSP) solver.
Inheritance Hierarchy
System.Object
Microsoft.SolverFoundation.Services.Directive
Microsoft.SolverFoundation.Services.ConstraintProgrammingDirective
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Class ConstraintProgrammingDirective _
Inherits Directive
public class ConstraintProgrammingDirective : Directive
public ref class ConstraintProgrammingDirective : public Directive
type ConstraintProgrammingDirective =
class
inherit Directive
end
public class ConstraintProgrammingDirective extends Directive
The ConstraintProgrammingDirective type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConstraintProgrammingDirective | Initializes a new instance of the ConstraintProgrammingDirective class. |
Top
Properties
Name | Description | |
---|---|---|
Algorithm | Gets or sets the algorithm. | |
Arithmetic | Gets or sets the numerical accuracy to use during the solve process. (Inherited from Directive.) | |
MaximumGoalCount | Gets or sets the maximum number of goals to use. (Inherited from Directive.) | |
MoveSelection | Gets or sets the heuristic for selecting local search moves. | |
PrecisionDecimals | The number of decimal digits of precision. | |
RestartEnabled | Gets or sets a value indicating whether to enable the solver to restart. | |
TimeLimit | Gets or sets the time limit. (Inherited from Directive.) | |
UserOrderVariables | Gets or sets a prioritized list of variables that should be searched in a breadth-first search. | |
ValueSelection | Gets or sets the heuristic for selecting the decision value to test first. | |
VariableSelection | Gets or sets the heuristic for selecting decisions to branch on. | |
WaitLimit | Gets or sets the time to wait for a result after timeout is reached. (Inherited from Directive.) |
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 | Converts the CSP directive to its equivalent string representation. (Overrides Object.ToString().) |
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.