Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Finding connected components in a graph.

by zing (Beadle)
on Oct 02, 2012 at 17:57 UTC ( #996887=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        Code    
    
    ...
    print "\n$V\n"; 
    print "----connected components------------"; 
    use YAML; print Dump \@subgraphs;
    
  2. or download this
        
    5
    ----connected components--------------- 
    ...
    - 
      - e 
      - d
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://996887]
Approved by sundialsvc4
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2017-04-29 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.