Export (0) Print
Expand All

SolutionMapping Class

Solver Foundation 3.0

[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.

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

public abstract class SolutionMapping

The SolutionMapping type exposes the following members.

  NameDescription
Protected methodSolutionMappingInitializes a new instance of the SolutionMapping class.
Top

  NameDescription
Protected propertyStatic memberEmptyArrayGets a one-dimensional, empty array.
Protected propertyModelGets the Solver Foundation Services model that is solved.
Top

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetComponentsReturns a collection of components that are related to a constraint.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetIndexes(Constraint)Returns a collection of indexes that are related to a constraint.
Public methodGetIndexes(Decision)Returns a collection of indexes that are related to a decision.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryGetConstraintReturns a value that indicates whether a row identifier is mapped to a constraint.
Public methodTryGetDecisionReturns a value that indicates whether a row identifier is mapped to a decision.
Public methodTryGetGoalReturns a value that indicates whether a row identifier is mapped to a goal.
Public methodTryGetValue(Goal, Rational)Returns the value of the specified goal.
Public methodTryGetValue(Decision, Object[], Rational)Returns the value of the specified decision.
Public methodTryGetVid(Goal, Int32)Returns a row index associated with a specified goal.
Public methodTryGetVid(Decision, Object[], Int32)Returns a row index associated with a specified decision.
Public methodTryGetVid(Constraint, Object[], Int32, Int32)Returns a row index associated with a specified constraint.
Top

The solution mapping maps between decision values, goals, and constraints, and solver terms and variable indexes.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft