I am trying to find an efficient C ++ interval tree implementation (mostly, probably based on red black trees) without a virus or restrictive license. Any pointers to an easy standalone implementation? For the use case, I mean that the set of intervals is known from the very beginning (say, a million), and I want to be able to quickly get a list of intervals that span a given interval. Thus, the tree, once built, will not change - just need quick queries.
c ++ algorithm interval-tree red-black-tree
Christophe Lambert Oct 17 '08 at 16:12 2008-10-17 16:12
source share