Algorithm
Algorithm::SkipList is a Perl implementation of skip lists. SYNOPSIS my $list = new Algorithm::SkipList(); $list->insert( key1, value ); $list->insert( key2, another value ); $value = $list->find(key2); $list->delete(key1); This is an implementation of skip lists in Perl. Skip...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (117): Algorithm::SkipList Download |
Md4sum generates or checks MD4 checksums applying the algorithm specified in RFC 1320. The project role is to generate and print checksums for all files passed as arguments. The usage is: md4sum [options] [file(s)]... see the manual page for more information. Whats New in This Release: -...
Platforms: *nix
License: Freeware | Size: 26.62 KB | Download (117): Md4sum Download |
Algorithm::AhoCorasick::SearchMachine provides an implementation and low-level interface of Algorithm::AhoCorasick. Feeds input to the state machine. First (after the instance) argument of this method is the input text (which can be empty, in which case the method doesnt do anything), second...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (114): Algorithm::AhoCorasick::SearchMachine Download |
Algorithm::Pair::Best is a Perl module to select pairings (designed for Go tournaments, but can be used for anything, really). SYNOPSIS use Algorithm::Pair::Best; my $pair = Algorithm::Pair::Best->new( ? options ? ); $pair->add( item, ? item, ... ? ); @pairList = $pair->pick( ? $window...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (112): Algorithm::Pair::Best Download |
Algorithm::Loops is a Perl module with looping constructs: NestedLoops, MapCar*, Filter, and NextPermute*. SYNOPSYS use Algorithm::Loops qw( Filter MapCar MapCarU MapCarE MapCarMin NextPermute NextPermuteNum NestedLoops ); my @copy= Filter {tr/A-Z.,"()/a-z/d} @list; my $string= Filter...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (108): Algorithm::Loops Download |
Algorithm::NeedlemanWunsch is a sequence alignment with configurable scoring. SYNOPSIS use Algorithm::NeedlemanWunsch; sub score_sub { if (!@_) { return -2; # gap penalty } return ($_[0] eq $_[1]) ? 1 : -1; } my $matcher = Algorithm::NeedlemanWunsch->new(&score_sub); my $score =...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (105): Algorithm::NeedlemanWunsch Download |
Algorithm::Huffman is a Perl extension that implements the Huffman algorithm. SYNOPSIS use Algorithm::Huffman; my %char_counting = map {$_ => int rand(100)} (a .. z, A .. Z); # or better the real counting for your characters # as the huffman algorithm doesnt work good with random data...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (104): Algorithm::Huffman Download |
Algorithm::SocialNetwork is a social network analysis. SYNOPSIS use Graph::Undirected; use Algorithm::SocialNetwork; my $G = Graph::Undirected->new(); $G->add_edges([qw(a b)], [qw(b c)]); my $algo = Algorithm::SocialNetwork->new(graph => $G3); my $BC = $algo->BetweenessCentrality(); #...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (104): Algorithm::SocialNetwork Download |
Algorithm::Permute is a Perl module with handy and fast permutation with object oriented interface. SYNOPSIS use Algorithm::Permute; my $p = new Algorithm::Permute([a..d]); while (@res = $p->next) { print join(", ", @res), "n"; } my @array = (1..9); Algorithm::Permute::permute { print...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (102): Algorithm::Permute Download |
Algorithm::BinPack is a Perl module that can efficiently pack items into bins. SYNOPSIS Algorithm::BinPack efficiently packs items into bins. The bins are given a maximum size, and items are packed in with as little empty space as possible. An example use would be backing up files to CD,...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (101): Algorithm::BinPack Download |
Digest::Perl::MD4 is a Perl implementation of Ron Rivests MD4 Algorithm. This is not C-code interface (like Digest::MD5) but a Perl-only implementation of MD4 (like Digest::Perl::MD5). Because of this, it is slow but avoids platform specific complications. For efficiency you should use...
Platforms: *nix
License: Freeware | Size: 7.17 KB | Download (101): Digest::Perl::MD4 Download |
Unicode::Collate is a Unicode Collation Algorithm. SYNOPSIS use Unicode::Collate; #construct $Collator = Unicode::Collate->new(%tailoring); #sort @sorted = $Collator->sort(@not_sorted); #compare $result = $Collator->cmp($a, $b); # returns 1, 0, or -1. # If %tailoring is false (i.e....
Platforms: *nix
License: Freeware | Size: 276.48 KB | Download (101): Unicode::Collate Download |
Algorithm::SISort is a Perl module that contains select and insert sorting algorithm. SYNOPSIS use Algorithm::SISort qw(Sort Sort_inplace); @sorted_list = Sort {$_[0] <=> $_[1]} @unsorted_list; # ... or ... $number_of_comparisons = Sort_inplace {$_[0] <=> $_[1]} @unsorted_list; This...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (100): Algorithm::SISort Download |
Algorithm::Munkres is a Perl extension for Munkres solution to classical Assignment problem for square and rectangular matrices. This module extends the solution of Assignment problem for square matrices to rectangular matrices by padding zeros. Thus a rectangular matrix is converted to square...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (100): Algorithm::Munkres Download |
TinyCrypt is a NEW encryption algorithm, not written by an expert, nor significantly peer-reviewed. For protecting critical data, please consider alternatives until TinyCrypt is proven. That said, if you're just having fun, or have data that is more easily stolen while you're away from your...
Platforms: *nix
License: Freeware | Size: 51.2 KB | Download (97): TinyCrypt Download |
Acovea implements a genetic algorithm for finding the "best" options for compiling programs with the GCC C and C++ compilers. ACOVEA (Analysis of Compiler Options via Evolutionary Algorithm) implements a genetic algorithm to find the "best" options for compiling programs with the GNU Compiler...
Platforms: *nix
License: Freeware | Size: 399.36 KB | Download (97): Acovea Download |
Template::Plugin::Digest::MD5 is a TT2 interface to the MD5 Algorithm. SYNOPSIS [% USE Digest.MD5 -%] [% checksum = content FILTER md5 -%] [% checksum = content FILTER md5_hex -%] [% checksum = content FILTER md5_base64 -%] [% checksum = content.md5 -%] [% checksum = content.md5_hex -%]...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (96): Template::Plugin::Digest::MD5 Download |
Algorithm::DiffOld is a Perl module to compute `intelligent differences between two files / lists but use the old (<=0.59) interface. NOTE This has been provided as part of the Algorithm::Diff package by Ned Konz. This particular module is ONLY for people who HAVE to have the old interface,...
Platforms: *nix
License: Freeware | Size: 23.55 KB | Download (95): Algorithm::DiffOld Download |
Algorithm::SixDegrees is a Perl module that can find a path through linked elements in a set. SYNOPSIS use Algorithm::SixDegrees; my $sd1 = Algorithm::SixDegrees->new(); $sd1->data_source( actors => &starred_in ); $sd1->data_source( movies => &stars_of ); @elems = $sd1->make_link(actors,...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (94): Algorithm::SixDegrees Download |
Template::Plugin::Digest::SHA1 is a TT2 interface to the SHA1 Algorithm. SYNOPSIS [% USE Digest.SHA1 -%] [% checksum = content FILTER sha1 -%] [% checksum = content FILTER sha1_hex -%] [% checksum = content FILTER sha1_base64 -%] [% checksum = content.sha1 -%] [% checksum =...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (94): Template::Plugin::Digest::SHA1 Download |