Algorithm-Graphs-TransitiveClosure-Tiny

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

Algorithm-Graphs-TransitiveClosure-Tiny

The README is used to introduce the module and provide instructions on
how to install the module, any machine dependencies it may have (for
example C compilers and installed libraries) and any other information
that should be provided before the module is installed.

A README file is required for CPAN modules since CPAN extracts the README
file from a module distribution so that people browsing the archive
can use it to get an idea of the module's uses. It is usually a good idea
to provide version information here so that people can decide whether
fixes for the module are worth downloading.


INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test

lib/Algorithm/Graphs/TransitiveClosure/Tiny.pm  view on Meta::CPAN

modified. The difference is that this implementation of C<floyd_warshall()>:

=over

=item *

works on hashes only,

=item *

uses C<undef> for hash values, so an incidence must be checked with
C<exists()> (but for the input hash you are not forced to use C<undef>),

=item *

fixes following problem of L<Algorithm::Graphs::TransitiveClosure>:

Example:

   my $g = {
            0 => { 2 => 1},



( run in 0.906 second using v1.01-cache-2.11-cpan-de7293f3b23 )