in reply to Finding all connected nodes in an all-against-all comparison
So which solution do you expect with this data?
A C B C
There is no path from A to B, so do you consider them in the same or different groups?
Or do you have a guaranty that these intersections are not possible?
Cheers Rolf
In Section
Seekers of Perl Wisdom