Share via


LinearSolutionMapping 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 Solver Foundation Services (SFS) model and an ILinearModel.

Inheritance Hierarchy

System.Object
  Microsoft.SolverFoundation.Services.SolutionMapping
    Microsoft.SolverFoundation.Services.PluginSolutionMapping
      Microsoft.SolverFoundation.Services.LinearSolutionMapping

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

Syntax

'Declaration
Public NotInheritable Class LinearSolutionMapping _
    Inherits PluginSolutionMapping
public sealed class LinearSolutionMapping : PluginSolutionMapping
public ref class LinearSolutionMapping sealed : public PluginSolutionMapping
[<Sealed>]
type LinearSolutionMapping =  
    class
        inherit PluginSolutionMapping
    end
public final class LinearSolutionMapping extends PluginSolutionMapping

The LinearSolutionMapping type exposes the following members.

Properties

  Name Description
Protected property Model Gets the Solver Foundation Services model that is solved. (Inherited from SolutionMapping.)

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 GetComponents Returns the parts of a constraint, together with its indexes. (Inherited from PluginSolutionMapping.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIndexes(Constraint) Returns the indexes of a constraint. (Inherited from PluginSolutionMapping.)
Public method GetIndexes(Decision) Returns all indexes of a decision. (Inherited from PluginSolutionMapping.)
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 TryGetConstraint Returns a constraint, the indexes of the constraint, and its component part. (Inherited from PluginSolutionMapping.)
Public method TryGetDecision Returns a decision. (Inherited from PluginSolutionMapping.)
Public method TryGetGoal Returns a goal. (Inherited from PluginSolutionMapping.)
Public method TryGetValue(Goal, Rational%) Returns the value of the specified goal. (Inherited from SolutionMapping.)
Public method TryGetValue(Decision, array<Object[], Rational%) Returns the value of the specified decision. (Inherited from SolutionMapping.)
Public method TryGetVid(Goal, Int32%) Returns the row or variable index that is associated with a specified goal. (Inherited from PluginSolutionMapping.)
Public method TryGetVid(Decision, array<Object[], Int32%) Returns the row or variable index that is associated with a specified decision. (Inherited from PluginSolutionMapping.)
Public method TryGetVid(Constraint, array<Object[], Int32, Int32%) Returns the row or variable index when passed a constraint, along with the indexes of the constraint, and a component part. (Inherited from PluginSolutionMapping.)

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.Services Namespace