Lambda the Ultimate

inactiveTopic Untangling the balancing and searching of balanced binary search trees
started 5/19/2004; 8:23:10 AM - last post 5/20/2004; 11:56:39 PM
Ehud Lamm - Untangling the balancing and searching of balanced binary search trees  blueArrow
5/19/2004; 8:23:10 AM (reads: 10634, responses: 4)
Untangling the balancing and searching of balanced binary search trees
Matthew H. Austern, Bjarne Stroustrup, Mikkel Thorup, John Wilkinson. Untangling the balancing and searching of balanced binary search trees. Softw., Pract. Exper. 33(13): 1273-1298 (2003)

I really hate Software - Practice and Experience since they don't allow authors to provide their papers online (or so it seems). Still, I think this paper may interest several LtU readers, so I'll make an exception and mention it here even though it is not publically available.

The authors show how to decouple the search and balancing stategies so they can be expressed independently of each other, communicating only by basic operations such as rotations.

The paper presents a C++ framework that makes heavy use of templates, and is quite efficient.

Aside from being an interesting exercise in libary design, and being a nice example of templates, the authors use a few interesting programming techniques related to C++ templates that are worth knowing about.

An appendix containing the source code is available online.


Posted to Software-Eng by Ehud Lamm on 5/19/04; 8:23:53 AM

Peter William Lount - Re: Untangling the balancing and searching of balanced binary search trees  blueArrow
5/20/2004; 1:50:19 PM (reads: 193, responses: 1)
The Electronic Appendix for Untangling the Balancing and Searching of Balanced Binary Search Trees (pdf 100k) is available online for free. It's contains source code.

Ehud Lamm - Re: Untangling the balancing and searching of balanced binary search trees  blueArrow
5/20/2004; 2:28:01 PM (reads: 187, responses: 0)
Reread the last two lines of my original message...

Peter William Lount - Re: Untangling the balancing and searching of balanced binary search trees  blueArrow
5/20/2004; 11:56:39 PM (reads: 156, responses: 0)
Oops, blush ... ;--)