Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Building Networks of Matches

by bowsie (Initiate)
on Jan 11, 2005 at 20:20 UTC ( [id://421405]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://421405]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-19 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found