|
Boost Users : |
Subject: [Boost-users] [BGL] Writing an edge_iterator for add_edges in CSR graph
From: Johan Oudinet (johan.oudinet_at_[hidden])
Date: 2011-04-08 07:50:59
Hi,
I'm trying to write an edge_iterator in order to load a CSR graph from
a GraphViz by using the add_edges method.
So far, I successfully write a edge_iterator so you can iterate on it
and dereference it to get either a pair of vertex_descriptor or a edge
label.
However, if it try to use this iterator as arguments for the method
add_edges of CSR graph, I got cryptic errors and I don't know how to
solve them :-/
You can find the code that produce these errors here:
http://tinyurl.com/csr-add-edges-error
I will appreciate any help to understand what is going wrong or to
write an edge_iterator that actually works with add_edges.
Thanks.
Regards,
P.S.: I use Boost graph library 1.42 installed from Ubuntu 10.10 repositories.
-- Johan () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net