[−][src]Crate unbounded_interval_tree
Implementation of an interval tree that works with inclusive/exclusive
bounds, as well as unbounded intervals. It is based on the
data structure described in Cormen et al.
(2009, Section 14.3: Interval trees, pp. 348–354). It provides methods
for "stabbing queries" (as in "is point p
or an interval i
contained in any intervals
in the tree of intervals?"), as well as helpers to get the difference between a queried
interval and the database (in order to find subsegments not covered), and the list of
intervals in the database overlapping a queried interval.
Structs
IntervalTree | The interval tree storing all the underlying intervals. |
IntervalTreeIter | An inorder interator through the interval tree. |