in reply to Re^2: Building Networks of Matches
in thread Building Networks of Matches

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:

__DATA__ a b c d e f b g h i j k l m f z
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