Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: creating adjacency matrix

by pajout (Curate)
on Jan 06, 2011 at 10:03 UTC ( #880784=note: print w/ replies, xml ) Need Help??


in reply to creating adjacency matrix

It depends on planned purpose, for instance...

my %adj = (A => ['B'], B => ['A','C'], C => ['B','D'], D =>['C']);


Comment on Re: creating adjacency matrix
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-06 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (72 votes), past polls