ConstraintSolverSolution Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines a constraint satisfaction programming (CSP) solution.
Inheritance Hierarchy
System.Object
Microsoft.SolverFoundation.Solvers.ConstraintSolverSolution
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public NotInheritable Class ConstraintSolverSolution _
Implements ISolverSolution
public sealed class ConstraintSolverSolution : ISolverSolution
public ref class ConstraintSolverSolution sealed : ISolverSolution
[<Sealed>]
type ConstraintSolverSolution =
class
interface ISolverSolution
end
public final class ConstraintSolverSolution implements ISolverSolution
The ConstraintSolverSolution type exposes the following members.
Properties
Name | Description | |
---|---|---|
HasFoundSolution | Returns a value that indicates whether all solutions have been found. | |
Item | Gets the variables by one or more values. | |
Quality | Gets the solution quality. |
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.) | |
GetDoubleSetListValue | Gets the value of a variable in a solution. | |
GetDoubleValue | Gets the value of a variable in a solution. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIntegerSetListValue | Gets the value of a variable in a solution. | |
GetIntegerValue | Gets the value of a variable in a solution. | |
GetNext | Returns a value that indicates if the current instance is updated with the result of the next solution. | |
GetSymbolSetListValue | Gets the value of a variable in a solution. | |
GetSymbolValue | Gets the value of a variable in a solution. | |
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.) | |
TryGetValue | Returns a value that indicates whether a variable exists and its value is retrieved successfully. |
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.