NAME

SNA::Network::Generator::Configuration - Generate random networks according to the configuration model

SYNOPSIS

use SNA::Network;

my $net = SNA::Network->new();
$net->generate_by_configuration_model( $other_network );
...

METHODS

The following methods are added to SNA::Network.

generate_by_configuration_model

Generates a network according to the configuration model. This means that the random network will have the same degree sequence as the base network which is passed as a parameter. So for each node from the base network, the random network will have a corresponding node with the same in- and outdegree.

Note however that this method is prone to produce a few edges less, that cannot be matched in the end because they would introduce cycles or double edges otherwise. So in practice the random network will be only very close to the base networks degree sequence in most cases.

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:

ACKNOWLEDGEMENTS

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.