Interval Set #
IntervalSet operations like IntervalSet.canonicalize or IntervalSet.intersection
def IntervalSet.Acc.with_none (acc : Interval.Acc) (n : NonemptyInterval Char) (h : acc.next.isNone = true) :
Instances For
def IntervalSet.Acc.with_next (acc : Interval.Acc) (n : NonemptyInterval Char) (h1 : Interval.is_start_eq acc.next n) :
Instances For
def IntervalSet.Acc.with_next_set (acc : Interval.Acc) (l r : NonemptyInterval Char) (h1 : Interval.nonOverlapping l r) (h2 : acc.next = some l) :
Instances For
Converts ranges into IntervalSet with canonical ordering.
Instances For
Negate a interval set wrt the corresponding BoundedOrder instBoundedOrderCharInstLEChar .
Instances For
Intersection of interval sets
Instances For
@[irreducible]
Instances For
Subtract the interval set interval2 from interval1.
Instances For
Union of interval sets.
Instances For
Compute the symmetric difference (A⊖B = (A∪B)(A∩B)) of the two sets.