Re: [Haskell-cafe] OT: representations for graphs
20 Dec
2008
20 Dec
'08
2:39 a.m.
(Forgot to send to haskell-cafe- sorry Alistair!) Martin Erwig wrote a paper [1] that defines an inductive graph type and implements some common algorithms with it. Also, it isn't very Haskellish but if you can label your nodes with an instance of Ix you might be able to use an Array to get constant time access. I've never used Data.HashTable before, but that might also be useful. [1] - http://web.engr.oregonstate.edu/~erwig/papers/InductiveGraphs_JFP01.pdf<http://web.engr.oregonstate.edu/%7Eerwig/papers/InductiveGraphs_JFP01.pdf>
6422
Age (days ago)
6422
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nathan Bloomfield