BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Tree-RedBlack0.5_1
DragonFlydevel/p5-Tree-RedBlack0.5_1
HardenedBSDdevel/p5-Tree-RedBlack0.5_1
GhostBSDdevel/p5-Tree-RedBlack0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.5_10.5_10.5_10.5_10.5_1
FreeBSD:14:quarterly0.5_10.5_1n/a0.5_10.5_1
FreeBSD:15:latest0.5_10.5_1n/a0.5_10.5_1
FreeBSD:15:quarterly0.5_10.5_1n/an/an/a
FreeBSD:16:latest0.5_10.5_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
Tree-RedBlack-0.5.tar.gz5734406c06d21a5d38314b05e25516ee5942ebecd8a5c40b43a23ed4170fab3b657a
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.