more useful options | |
PerlMonks |
Re^3: Building Networks of Matchesby bowsie (Initiate) |
on Jan 11, 2005 at 20:20 UTC ( [id://421405]=note: print w/replies, xml ) | Need Help?? |
This doesn't work. :( First, you cannot use strongly_connected_components in an undirected graph. However, simply substituting connected_components takes care of that, so that's not a big deal. However, it only works when there is more than one element on a line. If my data looked like this: it would not deal with the line with just the "z" on it - it would ignore that line and give me the same results as the data-set without the "z" instead of telling me there's a set of 1-ement containing z that is unique to the list. I will go read more about Graph and see if there's a solution to this problem. Thank you anyway
In Section
Seekers of Perl Wisdom
|
|