LinearEntry Structure

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a <key, index, value> triplet that indicates the row of a coefficient and the value of the coefficient.

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

Syntax

'Declaration
Public Structure LinearEntry
public struct LinearEntry
public value class LinearEntry
[<Sealed>]
type LinearEntry =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The LinearEntry type exposes the following members.

Methods

  Name Description
Public method Equals Returns a value that indicates whether a linear entry object is equal to another object. (Overrides ValueType.Equals(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 GetHashCode Gets the hash code for a linear entry object. (Overrides ValueType.GetHashCode().)
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 the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Returns a value that indicates whether two linear entry objects are equal.
Public operatorStatic member Inequality Returns a value that indicates whether two linear entry objects are unequal.

Top

Fields

  Name Description
Public field Index Represents the index of a linear entry.
Public field Key Represents the key of a linear entry.
Public field Value Represents the value of a coefficient.

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