SNA::Network::Algorithm::Cores - calculate core collapse sequences (CCS)
use SNA::Network; my $net = SNA::Network->new(); $net->load_from_pajek_net($filename); ... my $k_max = $net->calculate_in_ccs();
The following methods are added to SNA::Network.
Calculates the in-core collapse sequence of the graph. All nodes get a maximum core membership k, starting from 0 on. Stores the k value under the hash entry k_in_core for each node object. Returns the maximum k 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:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
COPYRIGHT & LICENSE
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.