Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2006-09-28 15:10:37


On Sep 28, 2006, at 2:48 PM, Mohamed Anouar Rachdi wrote:

> Hello,
>
> I'm using boost bidirectional multigraph, and i use
>
> boost::edge(src,dst,graph) but just like this it doesnt
>
> work when there is multilinks between src and dst
>
> is there a way to specifie an id of link
>
> something like
>
> boost::edge(src,dst, idlink, graph)??

Not really. If you're using a graph type that sorts edges (e.g.,
multisetS), you can use "edge_range" and search through there.
Otherwise, you're stuck combing through the out_edges yourself to see
if there is an edge that matches your criteria.

        Doug


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk