Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Finding connected components in a graph.

by zing (Beadle)
on Oct 02, 2012 at 18:25 UTC ( #996890=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "First connected component == $subgraphs[1]\n";
    print "Number of connected components== $#subgraphs\n";
    
  2. or download this
    5
    ----connected components---------------
    ...
      - d
    First connected component == ARRAY(0x9a8e308)
    Number of connected components== 1
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-09-02 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (20 votes), past polls