Enum UnionDenominator
- Namespace
- Arc4u
- Assembly
- Arc4u.dll
Specifies the denominator to consider while performing an UnionOf intervals.
public enum UnionDenominator
- Extension Methods
Fields
Highest = 1The highest denominator is considered.
Lowest = 0The lowest denominator is considered.
Remarks
While performing an UnionOf intervals, depending of the specified UnionDenominator, the result will be different. If you consider the following intervals:
| a | ]∞ ; 3[ |
| b | ]0 ; 5[ |
| c | [1 ; 2] |
The union with the Highest denominator will return an IntervalCollection<T> of 1 element as shown below:
| i | ]∞ ; 5[ |
The union with the Lowest denominator will return an IntervalCollection<T> of 5 element as shown below:
| i | ]∞ ; 0] |
| j | ]0 ; 1[ |
| k | [1 ; 2] |
| l | ]2 ; 3[ |
| m | [3 ; 5[ |