Skip to content

Releases: 5cript/interval-tree

v3.1.2 Guard against overflow for dynamic interval overlap

Choose a tag to compare

@5cript 5cript released this 25 Jun 18:44
133919e

Fixed overlap overflow behavior fpr dynamic intervals by Contribution #60

Contributed by @whimxiqal

v3.1.1 Remove redundant branch checks

Choose a tag to compare

@5cript 5cript released this 29 Aug 23:33
dab26b2

What's Changed

  • Eliminate redundant branch checks by @odorovskoy in #57
  • Added two more find tests with larger trees. by @5cript in #58

New Contributors

Full Changelog: v3.1.0...v3.1.1

v3.1.0 erase_range feature

Choose a tag to compare

@5cript 5cript released this 09 Aug 12:44
9870f34
  • Added erase_range function
  • Fixed compile issue in optional.hpp
  • Added compiler option to force correct __cplusplus when compiling with MSVC.
  • Added msvc pipeline
  • Fixed some readme issues.

v3.0.0 Rewrite of punch

Choose a tag to compare

@5cript 5cript released this 27 Jul 01:13
10c74a5

Breaking Changes:

  • the within function is now required for user intervals.
  • insert_overlaps third parameter is now true by default.
  • Rewrote punch, which now works differently depending on the interval types. It now also works for all passed intervals, not just intervals that are larger than the entire span of the tree.

Changes:

  • Changed third parameter of insert_overlap to "recursive" for all kinds of intervals. This will merge insert until there is no longer an overlap.
  • Made some robustness changes for unsigned int intervals.

Added draw dot graph function

Choose a tag to compare

@5cript 5cript released this 09 Jan 11:21
8232ca5

Allows the graph to be rendered as a dot file into a given ostream.

v2.3.2 Fixed copy assignment not compiling

Choose a tag to compare

@5cript 5cript released this 21 Oct 14:54
b19afc3

What's Changed

  • Fixed copy assign not working. by @5cript in #40

Full Changelog: v2.3.1...v2.3.2

v2.3.1 Fixed typo in feature test by geoff-m

Choose a tag to compare

@5cript 5cript released this 26 Aug 07:44
4b91cf4

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.3.1

v2.3.0 Interval Types Now Meaningful

Choose a tag to compare

@5cript 5cript released this 02 Aug 18:01
ba04ef5

Previously the library only really dealt with closed intervals.

This update gives the following interval types:

  • closed [a, b]
  • open (a, b)
  • left_open (a, b]
  • right_open [a, b)
  • closed_adjacent [a, b] (like closed but counts adjacent intervals as overlapping)
  • dynamic (any of the above, slower because its more logic heavy.)

closed is still the default.

interval.size() now returns the amount of elements in the interval when the interval is integral. Used to always return high - low.
This might be a breaking change in your code, but version counts it as a bugfix.

v2.2.4 Fixed Erase Iterator Return

Choose a tag to compare

@5cript 5cript released this 31 Jul 15:04
a661ab1

The returned iterator of the erase function sometimes pointed to the deleted node!
This fixes this issue.

v2.2.3 Fixed some Unused Parameter Warnings

Choose a tag to compare

@5cript 5cript released this 30 Jul 17:51
639401d
Merge pull request #32 from 5cript/feat/unused-parameters

Removed parameter names.