NAME
SNA::Network::Community - Community class for SNA::Network
SYNOPSIS
foreach my $community ($net->communities) {
print int $community->members;
...
}
...
...
METHODS
new
Creates a new community with the given named parameters. Not intended for external use.
network
Returns the reference of the SNA::Network object this community belongs to.
level
Returns the level this community belongs to in a hierarchical structure. 0 indicates the finest-granular level.
index
Returns the index number of this community. All communities are sequentially numbered starting with 0.
members
Returns a list of SNA::Network::Node objects, which are members of this community.
members_ref
Returns the reference to the list of SNA::Network::Node objects, which are members of this community.
w_in
Returns the sum of all edge weights between community nodes
w_tot
Returns the sum of all community node's summed degrees.
module_value
Returns the module value of this community
subcommunities
Returns a list of subcommunities of this community in a hierarchical structure. Returns undef
if there are no subcommunities.
AUTHOR
Darko Obradovic, <dobradovic at gmx.de>
BUGS
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.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc SNA::Network
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2012 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.