NAME

SNA::Network::Node - Node class for SNA::Network

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

use SNA::Network::Node;

my $foo = SNA::Network::Node->new();
...

METHODS

new

creates a new node with the given named parameters.

index

Returns the index of the node

edges

Returns the list of SNA::Network::Edge objects associated with this node.

Returns the list of SNA::Network::Node objects that are linked to this node in any direction via an edge.

incoming_edges

Returns the list of SNA::Network::Edge objects that point to this node.

incoming_nodes

Returns the list of SNA::Network::Node objects that point to this node via an edge.

outgoing_edges

Returns the list of SNA::Network::Edge objects pointing from this node to other nodes.

outgoing_nodes

Returns the list of SNA::Network::Node objects that this node points to via an edge.

in_degree

Returns the in-degree of this node, i.e. the sum of all incoming weights, or the number of incoming edges in the unweighted case.

out_degree

Returns the out-degree of this node, i.e. the sum of all outgoing weights or the number of outgoing edges in the unweighted case.

summed_degree

Returns the summed degree of this node, i.e. the sum of all incoming and all outgoing weights or the number of associated edges in the unweighted case.

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.