in reply to Re: Finding connected components in a graph.
in thread Finding connected components in a graph.
-----OUTPUT----------print "First connected component == $subgraphs[1]\n"; print "Number of connected components== $#subgraphs\n";
5 ----connected components--------------- - - c - b - a - - e - d First connected component == ARRAY(0x9a8e308) Number of connected components== 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Finding connected components in a graph.
by SuicideJunkie (Vicar) on Oct 02, 2012 at 18:32 UTC |