Beispiel #1
0
            /// <summary> Orders by smallest cumulative gap. </summary>
            int IComparable <CombinationWithGaps <T> > .CompareTo(CombinationWithGaps <T> other)
            {
                Contract.Requires(other != null);

                return(this.cumulativeGapSize.CompareTo(other.cumulativeGapSize));
            }
Beispiel #2
0
 private static bool Equals(CombinationWithGaps <Filling> a, Filling[] b)
 {
     return(a.Combination.ContainsSameElements(b));
 }