F# graph library (ocamlgraph like)
I'm writing a program in ocaml using ocamlgraph and wondering if I am to port 开发者_开发技巧it to F# what are my options ? Thanks.
QuickGraph is one of the most complete graph libraries for .Net
OCamlGraph is a beautiful example of a higher-order module system really paying off. F# cannot express this so a translation will not only be difficult to do at all but the result will be inherently far more cumbersome to use. Your best bet is to reuse some existing graph library for .NET and you'll probably have to settle for far less abstraction.
There is GLEE by Microsoft Research (it's an early version of Microsoft Automatic Graph Layout ). GLEE is free to download (MSAG must be purchased). I'm have used GLEE for large enough graphs. It's fast and easy to use.
精彩评论