Share via


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
Public property HasFoundSolution Returns a value that indicates whether all solutions have been found.
Public property Item Gets the variables by one or more values.
Public property Quality Gets the solution quality.

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 GetDoubleSetListValue Gets the value of a variable in a solution.
Public method GetDoubleValue Gets the value of a variable in a solution.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIntegerSetListValue Gets the value of a variable in a solution.
Public method GetIntegerValue Gets the value of a variable in a solution.
Public method GetNext Returns a value that indicates if the current instance is updated with the result of the next solution.
Public method GetSymbolSetListValue Gets the value of a variable in a solution.
Public method GetSymbolValue Gets the value of a variable in a solution.
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.)
Public method 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.

See Also

Reference

Microsoft.SolverFoundation.Solvers Namespace