SNA::Network::Algorithm::Connectivity - identify network components
use SNA::Network; my $net = SNA::Network->new(); $net->load_from_pajek_net($filename); ... my $number_of_weak_components = $net->identify_weak_components();
The following methods are added to SNA::Network.
Identifies the weak components in the graph. All componets get an id, starting from 0 on. Stores the component id under the hash entry weak_component_id for each node object. Returns the number of weak components found in the network.
<dobradovic at gmx.de>
Please report any bugs or feature requests to
bug-sna-network-node at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SNA-Network. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2009 Darko Obradovic, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.