Export (0) Print
Expand All

PluginSolutionMapping 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 base class for solution mappings for linear, nonlinear, and term solvers.

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

public abstract class PluginSolutionMapping extends SolutionMapping

The PluginSolutionMapping type exposes the following members.

  NameDescription
Protected propertyModelGets the Solver Foundation Services model that is solved. (Inherited from SolutionMapping.)
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 the parts of a constraint, together with its indexes. (Overrides SolutionMapping.GetComponents(Constraint, Object[]).)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetIndexes(Constraint)Returns the indexes of a constraint. (Overrides SolutionMapping.GetIndexes(Constraint).)
Public methodGetIndexes(Decision)Returns all indexes of a decision. (Overrides SolutionMapping.GetIndexes(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 constraint, the indexes of the constraint, and its component part. (Overrides SolutionMapping.TryGetConstraint(Int32, Constraint, Object[], Int32).)
Public methodTryGetDecisionReturns a decision. (Overrides SolutionMapping.TryGetDecision(Int32, Decision, Object[]).)
Public methodTryGetGoalReturns a goal. (Overrides SolutionMapping.TryGetGoal(Int32, Goal).)
Public methodTryGetValue(Goal, Rational)Returns the value of the specified goal. (Inherited from SolutionMapping.)
Public methodTryGetValue(Decision, Object[], Rational)Returns the value of the specified decision. (Inherited from SolutionMapping.)
Public methodTryGetVid(Goal, Int32)Returns the row or variable index that is associated with a specified goal. (Overrides SolutionMapping.TryGetVid(Goal, Int32).)
Public methodTryGetVid(Decision, Object[], Int32)Returns the row or variable index that is associated with a specified decision. (Overrides SolutionMapping.TryGetVid(Decision, Object[], Int32).)
Public methodTryGetVid(Constraint, Object[], Int32, Int32)Returns the row or variable index when passed a constraint, along with the indexes of the constraint, and a component part. (Overrides SolutionMapping.TryGetVid(Constraint, Object[], Int32, Int32).)
Top

This class is used for plug-in solvers.

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