Main > Programming > Libraries >

libredblack 1.3

libredblack 1.3

Sponsored Links

libredblack 1.3 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.006 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 1255
Date added: 2006-05-25
Publisher: Damian Ivereigh

libredblack 1.3 description

libredblack is a library to provide the RedBlack balanced tree searching and sorting algorithm.

The algorithm was taken from the book "Introduction to Algorithms" by Cormen, Leiserson & Rivest. Frankly I never entirely understood it, but it most definately works!

What is the problem with normal binary trees?: A standard binary tree only works well if the original data is provided in a random order (random in terms of the key being sorted on). If however the data is provided in order, then the tree becomes very un-balanced and searches degrade into nothing more than a linked list.

How is the RedBlack tree different?: The RedBlack tree acts in a way to keep the overall tree fairly balanced as new data is loaded in.

How does it work?: The tree is always organised such that it has the following properties:

Every node is either Red or Black.

A leaf node (a dummy empty node at the end of the tree) is always Black.
If a node is Red then its children are Black.

Every path from the root to a leaf contains the same number of Black nodes.
So from 3 & 4 above, we can see that the longest path (alternating Red and Black nodes) is only twice as long as the shortest path (all Black nodes). Thus the tree remains fairly balanced.

Great! How does it maintain those properties?: Ah, well, thats where I get a bit hazy. I know that it does this by adding Red nodes and then rotating the tree elements and changing the colours to sort out times when two Red nodes become parent-child (breaking rule 3).

libredblack 1.3 Screenshot

Advertisements

libredblack 1.3 Keywords

Bookmark libredblack 1.3

Hyperlink code:
Link for forum:

libredblack 1.3 Copyright

WareSeeker periodically updates pricing and software information of libredblack 1.3 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of libredblack 1.3 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
This extension is designed to provide a theme based on Office 2007 Black. Free Download
Green On Black is the adaptation for KDE 3.5.x of the "Green On Black" theme from KDE 3.2. Free Download
GDSL is a collection of routines for generic data structures manipulation. Free Download
libscl (SCL) is a library that provides hash tables, list, queue, stack, symbol, balanced binary tree. Free Download
my-black-theme 1.0 is yet another excellent black GTK 2 theme which is a tweaked version of FC-Fino-Dark. The author has corrected several errors in the scripts and fixed a few tab images Free Download
FreeHA is designed to provide a free, portable, and easy to use program to run nodes in a high availability cluster. Free Download
Red-Piranha is a search and knowledge management system. Free Download
iksemel is an XML (eXtensible Markup Language) parser library designed for Jabber applications. Free Download