CspDomain Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines all the possible values for a term.
Inheritance Hierarchy
System.Object
Microsoft.SolverFoundation.Solvers.CspDomain
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public MustInherit Class CspDomain
public abstract class CspDomain
public ref class CspDomain abstract
[<AbstractClass>]
type CspDomain = class end
public abstract class CspDomain
The CspDomain type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CspDomain | Initializes a new instance of the CspDomain class. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the number of distinct choices allowed in the domain. | |
FirstValue | Gets the first value in the restricted set. | |
Kind | Gets the type of values in the domain. | |
LastValue | Gets the last value in the restricted set. |
Top
Methods
Name | Description | |
---|---|---|
ContainsValue | Returns a value that indicates if a given value is a member of a domain. | |
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.) | |
SetEqual | Returns a value that indicates if two domains are equal. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Values | Enumerates all values in a domain. |
Top
Remarks
An implementation of a solver can pool equal value sets partially or completely.
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.