Share via


Directive Class

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

An instruction to the Solver Foundation Services (SFS) layer or the solver.

Inheritance Hierarchy

System.Object
  Microsoft.SolverFoundation.Services.Directive
    Microsoft.SolverFoundation.Services.CompactQuasiNewtonDirective
    Microsoft.SolverFoundation.Services.ConstraintProgrammingDirective
    Microsoft.SolverFoundation.Services.HybridLocalSearchDirective
    Microsoft.SolverFoundation.Services.InteriorPointMethodDirective
    Microsoft.SolverFoundation.Services.NelderMeadDirective
    Microsoft.SolverFoundation.Services.SimplexDirective
    Microsoft.SolverFoundation.Services.StochasticDirective

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

Syntax

'Declaration
Public Class Directive
public class Directive
public ref class Directive
type Directive =  class end
public class Directive

The Directive type exposes the following members.

Constructors

  Name Description
Public method Directive Initializes a new instance of the Directive class.

Top

Properties

  Name Description
Public property Arithmetic Gets or sets the numerical accuracy to use during the solve process.
Public property MaximumGoalCount Gets or sets the maximum number of goals to use.
Public property TimeLimit Gets or sets the time limit.
Public property WaitLimit Gets or sets the time to wait for a result after timeout is reached.

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