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

William Halliburton whalliburton at gmail.com
Wed Sep 3 09:38:31 UTC 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-graph-devel/attachments/20080903/048ec1f1/attachment.html>


More information about the cl-graph-devel mailing list