From: SourceForge.net <no...@so...> - 2012-11-20 20:07:55
|
The following forum message was posted by e-flat at http://sourceforge.net/projects/jung/forums/forum/252062/topic/6199818: I don't know what problem that you're having with creating multiple instances of UndirectedSparseGraph; it's just a container class like anything in the Collections framework. Please post more information about the problem you're having. If you only need one graph at a time--your question makes this unclear--then there's no reason to create more than one; just create the reference inside the loop where you're reading the graph, and let Java deal with the garbage collection. |