CspSolutionMapping Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Defines the mapping between a model and a ConstraintSystem object.
Inheritance Hierarchy
System.Object
Microsoft.SolverFoundation.Services.SolutionMapping
Microsoft.SolverFoundation.Services.CspSolutionMapping
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public NotInheritable Class CspSolutionMapping _
Inherits SolutionMapping
public sealed class CspSolutionMapping : SolutionMapping
public ref class CspSolutionMapping sealed : public SolutionMapping
[<Sealed>]
type CspSolutionMapping =
class
inherit SolutionMapping
end
public final class CspSolutionMapping extends SolutionMapping
The CspSolutionMapping type exposes the following members.
Properties
Name | Description | |
---|---|---|
Model | Gets the Solver Foundation Services model that is solved. (Inherited from SolutionMapping.) |
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.) | |
GetComponents | Infrastructure. Returns a collection of components that are related to a constraint. (Overrides SolutionMapping.GetComponents(Constraint, array<Object[]).) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetIndexes(Constraint) | Infrastructure. Returns a collection of indexes that are related to a constraint. (Overrides SolutionMapping.GetIndexes(Constraint).) | |
GetIndexes(Decision) | Gets all the indexes of a decision. (Overrides SolutionMapping.GetIndexes(Decision).) | |
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.) | |
TryGetConstraint | Infrastructure. Returns a value that indicates whether a row identifier is mapped to a constraint. (Overrides SolutionMapping.TryGetConstraint(Int32, Constraint%, array<Object[]%, Int32%).) | |
TryGetDecision | Infrastructure. Returns a value that indicates whether a row identifier is mapped to a decision. (Overrides SolutionMapping.TryGetDecision(Int32, Decision%, array<Object[]%).) | |
TryGetGoal | Infrastructure. Returns a value that indicates whether a row identifier is mapped to a goal. (Overrides SolutionMapping.TryGetGoal(Int32, Goal%).) | |
TryGetValue(Goal, Rational%) | Returns the value of the specified goal. (Inherited from SolutionMapping.) | |
TryGetValue(Decision, array<Object[], Rational%) | Returns the value of the specified decision. (Inherited from SolutionMapping.) | |
TryGetVid(Goal, Int32%) | Infrastructure. Returns a value that indicates whether a row identifier is mapped to a goal. (Overrides SolutionMapping.TryGetVid(Goal, Int32%).) | |
TryGetVid(Decision, array<Object[], Int32%) | Returns a value that indicates the variable id of a decision is successfully retrieved. (Overrides SolutionMapping.TryGetVid(Decision, array<Object[], Int32%).) | |
TryGetVid(Constraint, array<Object[], Int32, Int32%) | Infrastructure. Returns a value that indicates whether a row identifier is mapped to a constraint. (Overrides SolutionMapping.TryGetVid(Constraint, array<Object[], Int32, Int32%).) |
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.