zing has asked for the wisdom of the Perl Monks concerning the following question:
a b
c d
a d
c a
f g
f h
What i want is its representation in this form my %connections=(a=>[b,d],c=>[d,a],f=>[g,h]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Representing a connection matrix of graph
by aitap (Curate) on Aug 08, 2012 at 12:44 UTC | |
|
Re: Representing a connection matrix of graph
by Kenosis (Priest) on Aug 08, 2012 at 13:05 UTC |