the title pretty much sums it all -
I'm using Jung as my graph model and I want to clone my graphs. is there a best-practice for this?
thanks
the title pretty much sums it all -
I'm using Jung as my graph model and I want to clone my graphs. is there a best-practice for this?
thanks
Copyright © 2021 Jogjafile Inc.
You could do a simple copy of vertices & edges:
that would create a new Graph, but the objects inside will be passed by reference so you could use this cloning library https://code.google.com/p/cloning/
and do a deep copy: