[cl-graph-devel] copying a graph

Gary King gwking at metabang.com
Thu Mar 23 03:41:06 UTC 2006


Hi Alexis,

Please take a look at http://common-lisp.net/project/metacopy


On Mar 21, 2006, at 12:57 PM, Alexis Gallagher wrote:

> Hi,
>
> Is there a way to make a (deep) copy of a graph? I've looked in the
> library and I can't find anything like copy-graph, copy-edge, or
> copy-vertex.
>
> I'm wondering about this, because I discovered I couldn't build a
> transformed version of a graph just by creating a new graph object and
> then adding edges from the old one. But if I can't do that, then  
> what is
> the best way to write functions that transform a graph  
> nondestructively?
>
> If I wanted to write such a function, is there anything I should know
> about which information needs to be preserved so that the duplicate
> object functions correctly with the other tools in the system?
>
> Cheers,
> alexis
>
> p.s. FYI, cl-graph adsf-installs fine on SBCL 0.9.7 on OS X. But I  
> still
> haven't got it working on CMUCL 19a / Debian stable. Has anyone else?
> _______________________________________________
> cl-graph-devel mailing list
> cl-graph-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/cl-graph-devel


-- 
Gary Warren King
metabang.com
http://www.metabang.com/





More information about the cl-graph-devel mailing list