Algorithm-CriticalPath
view release on metacpan or search on metacpan
lib/Algorithm/CriticalPath.pm view on Meta::CPAN
=head2 C<cost>
=over 4
=item * C<< $g->cost() >>
This returns the critical path cost.
my $g = Graph->new(directed => 1);
$g->add_weighted_vertex('Node1', 1);
$g->add_weighted_vertex('Node2', 2);
$g->add_edge('Node1','Node2');
$g->add_weighted_vertex('Node3', 0.5);
$g->add_edge('Node1','Node3');
my $cp = Algorithm::CriticalPath->new( {graph => $g} );
my $cost = $cp->cost();
=back
=head1 AUTHOR
Ded MedVed, C<< <dedmedved at cpan.org> >>
=head1 BUGS
Please report any bugs or feature requests to C<bug-algorithm-criticalpath at rt.cpan.org>, or through
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-CriticalPath>. I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Algorithm::CriticalPath
You can also look for information at:
=over 4
=item * RT: CPAN's request tracker (report bugs here)
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Algorithm-CriticalPath>
=item * AnnoCPAN: Annotated CPAN documentation
L<http://annocpan.org/dist/Algorithm-CriticalPath>
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/Algorithm-CriticalPath>
=item * Search CPAN
L<http://search.cpan.org/dist/Algorithm-CriticalPath/>
=back
=head1 ACKNOWLEDGEMENTS
=head1 LICENSE AND COPYRIGHT
Copyright 2013 Ded MedVed.
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
=cut
1; # End of Algorithm::CriticalPath
( run in 2.179 seconds using v1.01-cache-2.11-cpan-df04353d9ac )