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
Public method ConstraintProgrammingDirective Initializes a new instance of the ConstraintProgrammingDirective class.

Top

Properties

  Name Description
Public property Algorithm Gets or sets the algorithm.
Public property Arithmetic Gets or sets the numerical accuracy to use during the solve process. (Inherited from Directive.)
Public property MaximumGoalCount Gets or sets the maximum number of goals to use. (Inherited from Directive.)
Public property MoveSelection Gets or sets the heuristic for selecting local search moves.
Public property PrecisionDecimals The number of decimal digits of precision.
Public property RestartEnabled Gets or sets a value indicating whether to enable the solver to restart.
Public property TimeLimit Gets or sets the time limit. (Inherited from Directive.)
Public property UserOrderVariables Gets or sets a prioritized list of variables that should be searched in a breadth-first search.
Public property ValueSelection Gets or sets the heuristic for selecting the decision value to test first.
Public property VariableSelection Gets or sets the heuristic for selecting decisions to branch on.
Public property WaitLimit Gets or sets the time to wait for a result after timeout is reached. (Inherited from Directive.)

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 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.

See Also

Reference

Microsoft.SolverFoundation.Services Namespace