[cl-graph-devel] iterate-source-edges and iterate-target-edges mixup.

Gary King gwking at metabang.com
Fri Sep 5 00:43:47 UTC 2008


Hi William,

Thanks for this report.

It sure does look like something is fishy!


On Sep 3, 2008, at 5:38 AM, William Halliburton wrote:

>
> I believe the functionality (or the documentation) of iterate-source- 
> edges and iterate-target-edges is swapped.
>
> > *edge*
> #<EDGE 51 "ancestor" 48 -> 41>
>
> > (source-vertex *edge*)
> #<NODE 48 name "priced wine">
>
> > (target-vertex *edge*)
> #<NODE 41 name "wine">
>
> > (iterate-target-edges (source-vertex *edge*) (lambda (e) (print e)))
> #<EDGE 51 "ancestor" 48 -> 41>
> #<METABANG.CL-CONTAINERS:VECTOR-CONTAINER {C0CB381}>
>
> > (iterate-source-edges (source-vertex *edge*) (lambda (e) (print e)))
> #<METABANG.CL-CONTAINERS:VECTOR-CONTAINER {C0CB381}>
>
>
> Thanks much,
> Will
> _______________________________________________
> 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
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM







More information about the cl-graph-devel mailing list