Darko Obradovic > SNA-Network-0.17 > SNA::Network::Filter::Pajek

Download:
SNA-Network-0.17.tar.gz

Dependencies

Annotate this POD

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

NAME ^

SNA::Network::Filter::Pajek - load and save networks from/to Pajek .net files

SYNOPSIS ^

Quick summary of what the module does.

Perhaps a little code snippet.

    use SNA::Network;

    my $net = SNA::Network->new();
    $net->load_from_pajek_net($filename);
    ...
    # shortcut
    my $net = SNA::Network->new_from_pajek_net($filename);
    ...
    $net->save_to_pajek_net($filename);

DESCRIPTION ^

This enables import/export to the Pajek data format. See http://vlado.fmf.uni-lj.si/pub/networks/pajek/ for details about the format.

METHODS ^

The following methods are added to SNA::Network.

load_from_pajek_net

load a network from a passed filename. Nodes and edges are created as specified in the file, with the vertex name in the name field of the created nodes.

new_from_pajek_net

Returns a newly created network from a passed filename. Nodes and edges are created as specified in the file, with the vertex name in the name field of the created nodes.

save_to_pajek_net

AUTHOR ^

Darko Obradovic, <dobradovic at gmx.de>

BUGS ^

Please report any bugs or feature requests to bug-sna-network-filter-pajek 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:

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: