Main > Programming > Libraries >

Bio::Graph::SimpleGraph 1.5.2_102

Bio::Graph::SimpleGraph 1.5.2_102

Sponsored Links

Bio::Graph::SimpleGraph 1.5.2_102 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 5.6 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 839
Date added: 2007-07-08
Publisher: Nat Goodman

Bio::Graph::SimpleGraph 1.5.2_102 description

Bio::Graph::SimpleGraph is a Perl module that can create and manipulate undirected graphs.

SYNOPSIS

use Bio::Graph::SimpleGraph;

my $graph=new SimpleGraph;
# read pairs of nodes from STDIN
while (<>) {
my($node1,$node2)=split;
$graph->add_edge($node1,$node2);
}
my @nodes=graph->nodes; # get list of nodes
my @edges=graph->edges; # get list of edges
foreach my $node (@nodes) {
my @neighbors=$node->neighbors; # get list of neighboring nodes
}

This is a simple, hopefully fast undirected graph package. The only reason this exists is that the standard CPAN Graph pacakge, Graph::Base, is seriously broken. The package implements a small and eclectic assortment of standard graph algorithms that we happened to need for our applications.

This module is a subclass of Class::AutoClass (available at CPAN). AutoClass auotgenerates simple accessor and mutator methods (aka get and set methods). It also automates class initialization.

Nodes can be any Perl values, including object references. Edges are pairs of nodes.

(Caveat: be careful with values that contain embedded instances of $; (the character Perl uses to separate components of multi-dimensional subscripts), because we use this in the text representation of edges.

The main data structures are:

An edge (x,y) is represented canonically as a two element list in
which the lexically smaller value is first. Eg, the node (b,a)
is represented as [a,b].

The graph contains

1) A hash mapping the text representation of a node to the node
itself. This is mostly relevant when the node is a reference.

2) A hash mapping the text representation of a node to a list of
the nodes neighbors.

3) A hash mapping the text representation of an edge to the edge itself.

Bio::Graph::SimpleGraph 1.5.2_102 Screenshot

Advertisements

Bio::Graph::SimpleGraph 1.5.2_102 Keywords

Bookmark Bio::Graph::SimpleGraph 1.5.2_102

Hyperlink code:
Link for forum:

Bio::Graph::SimpleGraph 1.5.2_102 Copyright

WareSeeker periodically updates pricing and software information of Bio::Graph::SimpleGraph 1.5.2_102 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Bio::Graph::SimpleGraph 1.5.2_102 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
biblio.PLS is a bioperl client for accessing and querying a bibliographic repository. Free Download
Bio::ConnectDots::SimpleGraph is a simple, hopefully fast undirected graph package. Free Download
Bio::Tree::Compatible is a Perl module for testing compatibility of phylogenetic trees with nested taxa. Free Download
Bio::Tree::DistanceFactory is a Perl module to construct a tree using distance based methods. Free Download
GraphViz is a Perl interface to the GraphViz graphing tool. Free Download
Bio::Tools::Run::JavaRunner is a Perl module that can run java programs. Free Download
DBI::ProfileData can manipulate DBI::ProfileDumper data dumps. Free Download
Graph::Flowchart is a Perl module that can generate easily flowcharts as Graph::Easy objects. Free Download