Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.289.078 Times

libredblack 1.3

  Date Added: February 15, 2010  |  Visits: 844

libredblack

Report Broken Link
Printer Friendly Version


Product Homepage
Download (101 downloads)



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)..

Requirements: No special requirements
Platforms: Linux
Keyword: Balanced Balanced Tree Black Libraries Libredblack Nodes Programming Red Redblack Sorting Tree Tree Searching
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


LIBREDBLACK RELATED
Programming  -  devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.
444.26 KB  
Libraries  -  Gtk2::Ex::MindMapView::Layout::Balanced 0.000001
Gtk2::Ex::MindMapView::Layout::Balanced is a Perl module with balanced layout for view items. HEIRARCHY Gtk2::Ex::MindMapView::Layout::Group +----Gtk2::Ex::MindMapView::Layout::Balanced SYNOPSIS use...
50.18 KB  
Libraries  -  GODI 20060118
GODI library provides an advanced programming environment for the Objective Caml (OCaml) language. From INRIA (who created OCaml) you can get the OCaml compiler and runtime system, but this is usually not enough to develop applications. You also...
1.5 MB  
Libraries  -  IOE 20061102
IOE project is a C/C++ library with a counterpart set of command line programs. Almost all library functions are exposed to the command prompt for the purpose of being able to embed functionality into scripts. The programs provided range in...
2.4 MB  
Network & Internet  -  Simpy Tools 1.1
SimpyTools is a collection of various software for using and enhancing the simpy.com social bookmarking service. Simpy Tools includes libraries in various programming languages for using the REST API of simpy.com. It also includes a Firefox...
17.41 KB  
Programming  -  Robot Framework 2.5.7
Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD). It has easy-to-use tabular test data syntax and utilizes the keyword-driven testing approach. Its testing capabilities can...
1.64 MB  
Wallpaper Tools  -  Desde la muerte 1.0
If you like strong emotions and above all things that are frightening, terrifying, disgusting and dreadful, then you have come to the right place. This From the Dead wallpaper offers you all of this and much more.From the Dead is a frightening and...
1024 B  
Libraries  -  PDL::Graphics::AquaTerm 0.02
PDL::Graphics::AquaTerm is a Perl module that provides access to the AquaTerm Mac OS-X graphics terminal. SYNOPSIS # example 1 use PDL; use PDL::Graphics::LUT; use PDL::Graphics::AquaTerm; my $x_size = 255; my $y_size = 255;...
8.19 KB  
3D Graphic Tools  -  GIMP checkmark brushes 1.0
GIMP checkmark brushes is fourth in a series of "rubber stamp" GIMP brushes which help making simple objects easy and clean for GIMP users. GIMP checkmark brushes includes 30 brushes. They default to black, and some are in red, green, and blue....
67.58 KB  
Development Tools  -  FAST K-NEAREST NEIGHBOURS SEARCH 3D VERSION 1.0
In this file you can find a simple but very effective algorithm for Nearest Neighbour Search which I megalomaniacly called the GLTree.You want more? go to the Professional version of GLTreeIt has been designed for uniformly random data, where is...
10 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB