FreeBSD.software
Home/devel/p5-Tree-RedBlack

p5-Tree-RedBlack

0.5_1

Perl implementation of Red/Black tree, a type of balanced tree

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

Origin: devel/p5-Tree-RedBlack
Category: devel
Size: 23.6KiB
License: ART10
Maintainer: sunpoet@FreeBSD.org
Dependencies: 1 packages
Required by: 0 packages
$pkg install p5-Tree-RedBlack

Dependencies (1)

More in devel