Oct. 12, 2011
8:13 p.m.
Hi - I am considering implementing a Centered Interval Tree (http://en.wikipedia.org/wiki/Interval_tree) because I have to get the set of Timespans a particular Timespan overlaps from an arbitrary set of Timespans. In looking around I can only find the BTree implementation on SqueakSource, and the Left-Leaning-Red-Black-Tree linked to in the following list posting: http://forum.world.st/Interesting-survey-about-smalltalk-tp2261561p2263370.h... Does Pharo either not need/benefit from the various kinds of trees? Or is it trivial to implement/adapt the BTree to behave as a Red-Black Tree (or, in my case, the Centered Interval Tree) and as such I just need to learn how to do that? Thanks Paul