in reply to Re: Finding subgraphs induced by a set of given vertices.
in thread Finding subgraphs induced by a set of given vertices.
The code fails on this data
Code
And the output is---------DATA-------------- b c a a c d d e b e f g g d f h i g
Which is wrong, because it should have been thiscomponent 2 = e d g f component 1 = c a b b c a
Because with the vertices in component 2, we can have 4th & 5th row of DATA. Please help on thiscomponent 2 = e d g f e f g g d f component 1 = c a b b c a
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Finding subgraphs induced by a set of given vertices.
by zing (Beadle) on Oct 05, 2012 at 20:07 UTC | |
by zing (Beadle) on Oct 06, 2012 at 08:24 UTC |
In Section
Seekers of Perl Wisdom