/// <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)); }
private static bool Equals(CombinationWithGaps <Filling> a, Filling[] b) { return(a.Combination.ContainsSameElements(b)); }