interval_tree 0.2.0 copy "interval_tree: ^0.2.0" to clipboard
interval_tree: ^0.2.0 copied to clipboard

outdated

A non-overlapping interval tree with support for calculating unions, intersections, and differences between individual intervals and entire trees. The interval tree automatically joins and splits appr [...]

pub license: MIT coverage

interval_tree #

A Dart implementation of an interval tree, with support for calculating unions, intersections, and differences between individual intervals, or entire iterable collections of intervals, such as other interval trees.

Mutable #

IntervalTree has support for adding and removing intervals, or entire iterable collections of intervals, such as other interval trees.

Non-overlapping #

IntervalTree automatically joins and splits appropriate intervals at insertions and removals, respectively, whilst maintaining a collection of non-overlapping intervals.

Iterable #

IntervalTree is an iterable collection offering all standard iterable operations, such as easily accessing the first and last interval.

History #

IntervalTree started off as a quick and dirty Dart port of Erik Garrison's simple C++ interval tree implementation, but was soon re-written and based on quiver.collection's AVL implementation of a self-balancing binary tree AvlTreeSet.

License #

IntervalTree is licensed under the MIT license.

9
likes
0
pub points
41%
popularity

Publisher

verified publisherfluttercommunity.dev

A non-overlapping interval tree with support for calculating unions, intersections, and differences between individual intervals and entire trees. The interval tree automatically joins and splits appropriate intervals at insertion and removal, respectively, maintaining a collection of non-overlapping intervals.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta, quiver

More

Packages that depend on interval_tree