nosbod has asked for the wisdom of the Perl Monks concerning the following question:
Graph.pm seems to be a great module. One slight issue though.
I have a script which is called in order to calculate the shortest path between 2 vertices.
Unless i've missed something, each time I run the script I have to create the graph. The graph has ~50,000 edges which means it takes over 10 minutes to build.
Is there some way of writing the graph to disk or storing the graph so that it can be loaded back into memory quicker that recreating the graph from fresh?
TIA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: storing Graphs created with Graph.pm
by grinder (Bishop) on Mar 20, 2007 at 11:09 UTC | |
|
Re: storing Graphs created with Graph.pm
by davorg (Chancellor) on Mar 20, 2007 at 09:51 UTC |