Class PriorityLevelMipGapDefinition
Inheritance
System.Object
PriorityLevelMipGapDefinition
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: OPTANO.Modeling.Optimization
Assembly: Optimization.dll
Syntax
public class PriorityLevelMipGapDefinition
Properties
DefaultMipGap
Declaration
public double DefaultMipGap { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
GetMipGapForPriorityLevel(Int32)
Declaration
public double GetMipGapForPriorityLevel(int priorityLevel)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | priorityLevel |
Returns
Type | Description |
---|---|
System.Double |
IsCustomValueDefined(Int32)
Checks if a custom mip gap for prioLevel
is defined.
Does not check whether or not the value is the same as the DefaultMipGap.
Declaration
public bool IsCustomValueDefined(int prioLevel)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | prioLevel | The priority level to check for. |
Returns
Type | Description |
---|---|
System.Boolean |
ResetMipGapForPriorityLevel(Int32)
Declaration
public bool ResetMipGapForPriorityLevel(int priorityLevel)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | priorityLevel |
Returns
Type | Description |
---|---|
System.Boolean |
SetMipGapForPriorityLevel(Int32, Double)
Declaration
public void SetMipGapForPriorityLevel(int priorityLevel, double mipGap)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | priorityLevel | |
System.Double | mipGap |