Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.547.622 Times

Bio::Graph::SimpleGraph 1.5.2_102

  Date Added: March 12, 2010  |  Visits: 622


Report Broken Link
Printer Friendly Version

Product Homepage
Download (83 downloads)

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..

Requirements: No special requirements
Platforms: Linux
Keyword: Biographsimplegraph Edges Libraries List List Of Module Node Nodes Perl Perl Module Programming Simplegraph
Users rating: 0/10

License: Freeware Size: 5.6 MB
More Reviews or Write Review

Libraries  -  Java::JCR::Nodetype 0.08
Java::JCR::Nodetype is a Perl module that can load the JCR node type class wrappers. SYNOPSIS use Java::JCR::Nodetype; This loads the Perl classes mapped to the javax.jcr.nodetype package. You might notice the odd letter case of this...
48.13 KB  
Libraries  -  App::Modular::Module::Events 0.1.2
App::Modular::Module::Events is a Perl module with event handling for App::Modular compatible applications. SYNOPSIS #################################################################### package App::Modular::Module::Me; use base...
16.38 KB  
Libraries  -  perlrpcgen 0.71
perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions. SYNOPSIS perlrpcgen [--makefile] [--all] [--client] [--server] [--data] [--constants] [--module module] [--typemap typemap] [--fork] [--perl...
37.89 KB  
Modules  -  Creative Commons Lite 1.0
This modules allows users to add creative commons license to any type of drupal node. License will be shown as block on node view page. Available creative commons licensesPublic Domain LicenseDeveloping Nations LicenseAttribution Non-commercial No...
Libraries  -  Module::Crypt 0.04
Module::Crypt is a Perl module to encrypt your Perl code and compile it into XS. SYNOPSIS use Module::Crypt; # for a single file: CryptModule( file =>, install_base => /path/to/my/lib ); # for multiple files: CryptModule(...
7.17 KB  
Libraries  -  Apache::Wyrd 0.94
Apache::Wyrd is a Perl module for HTML embeddable perl objects under mod_perl. Apache::Wyrd is the core module in a collection of interoperating modules that allow the rapid object-oriented development of web sites in Apaches mod_perl...
174.08 KB  
Libraries  -  Class::Generate 1.09
Class::Generate is a Perl module that can generate Perl class hierarchies. SYNOPSIS use Class::Generate qw(class subclass delete_class); # Declare class Class_Name, with the following types of members: class Class_Name => [ s => $, #...
53.25 KB  
Libraries  -  HOP::Lexer 0.031
HOP::Lexer is a Perl module for "Higher Order Perl" Lexer. SYNOPSIS use HOP::Lexer string_lexer; my @input_tokens = ( [ VAR, qr/[[:alpha:]]+/ ], [ NUM, qr/d+/ ], [ OP, qr/[+=]/ ], [ SPACE, qr/s*/, sub { () } ], ); my $text = x = 3 +...
12.29 KB  
Libraries  -  PLJava 0.04
PLJava is Perl module that will embed Perl into Java. USAGE import perl5.Perl ; import perl5.SV ; public class test { public static void main(String argv[]) { Perl.eval("print qq`Hello World!n` ;") ; /////////////////// SV foo =...
163.84 KB  
Network & Internet  -  Jeta SSH Module 1.0
Jeta SSH Module provides a Horde SSH module. Jeta is the Horde Application Frameworks wrapper module for the SSHTools Java SSH Applet. Jeta is based on a java SSH client. It allows shell access to your web server, or to another machine if used...
3.1 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB