SNA::Network

A toolkit for Social Network Analysis
Download

SNA::Network Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Darko Obradovic
  • Publisher web site:
  • http://search.cpan.org/~obradovic/

SNA::Network Tags


SNA::Network Description

SNA::Network is a bundle of Perl modules for network algorithms, specifically designed for the needs of Social Network Analysis (SNA), but can be used for any other graph algorithms of course.It represents a standard directed and weighted network, which can also be used as an undirected and/or unweighted network of course. It is freely extensible by using own hash entries.Data structures have been designed for SNA-typical sparse network operations, and consist of Node and Edge objects, linked via references to each other.Functionality is implemented in sub-modules in the SNA::Network namespace, and all methods are imported into Network.pm. So you can read the documentation in the sub-modules and call the methods from your SNA::Network instance.Methods are called with named parameter style, e.g. $net->method( param1 => value1, param2 => value2, ...);Only in cases, where methods have only one parameter, this one is passed by value.This module was implemented mainly because I had massive problems understanding the internal structures of Perl's Graph module. Despite it uses lots of arrays instead of hashes for attributes and bit setting for properties, it was terribly slow for my purposes, especially in network manipulation (consistent node removal). It currently has much more features and plugins though, and is suitable for different network types. This package is focussing on directed networks only, with the possibility to model undirected ones as well.SYNOPSISQuick summary of what the module does. use SNA::Network; my $net = SNA::Network->new(); $net->create_node_at_index(index => 0, name => 'A'); $net->create_node_at_index(index => 1, name => 'B'); $net->create_edge(source_index => 0, target_index => 1, weight => 1); ...Product's homepage


SNA::Network Related Software