devel/p5-Tree-RedBlack 0.5_1 FreeBSD
Perl implementation of Red/Black tree, a type of balanced tree
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10
- Categories
- devel, perl5
- Package size
- 11.6 KiB, 23.6 KiB installed
Description
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().
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Tree-RedBlack | 0.5_1 |
| DragonFly | devel/p5-Tree-RedBlack | 0.5_1 |
| HardenedBSD | devel/p5-Tree-RedBlack | 0.5_1 |
| GhostBSD | devel/p5-Tree-RedBlack | 0.5_1 |
Install
Binary package:
pkg install p5-Tree-RedBlack
From the ports tree:
cd /usr/ports/devel/p5-Tree-RedBlack/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Tree-RedBlack>0:devel/p5-Tree-RedBlack
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.5_1 | 0.5_1 | 0.5_1 | 0.5_1 | 0.5_1 |
| FreeBSD:14:quarterly | 0.5_1 | 0.5_1 | n/a | 0.5_1 | 0.5_1 |
| FreeBSD:15:latest | 0.5_1 | 0.5_1 | n/a | 0.5_1 | 0.5_1 |
| FreeBSD:15:quarterly | 0.5_1 | 0.5_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.5_1 | 0.5_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 4
- %%SITE_PERL%%/Tree/RedBlack.pm
- %%SITE_PERL%%/Tree/RedBlack/Node.pm
- %%PERL5_MAN3%%/Tree::Node.3.gz
- %%PERL5_MAN3%%/Tree::RedBlack.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Tree-RedBlack-0.5.tar.gz | 5734 | 406c06d21a5d38314b05e25516ee5942ebecd8a5c40b43a23ed4170fab3b657a |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.