Darko Obradovic > SNA-Network-0.13 > SNA::Network::Node

Download:
SNA-Network-0.13.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: SNA-Network-0.19

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.

related_nodes

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 number of incoming edges.

out_degree

Returns the out-degree of this node, i.e. the number of outgoing edges.

summed_degree

Returns the summed degree of this node, i.e. the number of associated edges.

weighted_in_degree

Returns the weighted in-degree of this node, i.e. the sum of all incoming edge weights.

weighted_out_degree

Returns the weighted out-degree of this node, i.e. the sum of all outgoing edge weights.

weighted_summed_degree

Returns the summed weighted degree of this node, i.e. the sum of all incoming and all outgoing edgeweights.

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.

syntax highlighting: