Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libtree-redblack-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libtree-redblack-perl  ]

软件包: libtree-redblack-perl (0.5-2)

Perl implementation of Red/Black tree, a balanced tree

Tree::RedBlack is a demonstration package, showing the performance differences between different methods of data storage and accessing. It contains 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.

An example perl script is contained in the documentation directory, which would show the different run times using hash table, linear or tree structure.

其他与 libtree-redblack-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libtree-redblack-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 13.1 kB40 kB [文件列表]