diff options
Diffstat (limited to 'devel/p5-Tree-RedBlack/pkg-descr')
-rw-r--r-- | devel/p5-Tree-RedBlack/pkg-descr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/p5-Tree-RedBlack/pkg-descr b/devel/p5-Tree-RedBlack/pkg-descr new file mode 100644 index 000000000000..9090242c0f4f --- /dev/null +++ b/devel/p5-Tree-RedBlack/pkg-descr @@ -0,0 +1,11 @@ +Tree::RedBlack is a perl implementation of the Red/Black tree algorithm found in +the book "Algorithms", by Cormen, Leiserson & Rivest (more commonly known as +"CLR" or "The White Book"). A Red/Black tree is a binary tree which remains +"balanced"- that is, the longest length from root to a node is at most one more +than the shortest such length. It is fairly efficient; no operation takes more +than O(lg(n)) time. + +A Tree::RedBlack object supports the following methods: new(), root(), cmp(&), +insert($, $), delete($), find($), node($), min() and max(). + +WWW: http://search.cpan.org/dist/Tree-RedBlack/ |