Boost logo

Boost Users :

Subject: Re: [Boost-users] Hello, I am using boost graph, I have a questions about disable edge in one graph
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-07-03 13:44:23


On Wed, 4 Jul 2012, mingliang zou wrote:

> I created a graph.
> And use add_edge to add some edges,
>
> I wanna disable some edges, and add some edges. and use boost graph algorithm for enable edges
>
> How can I do this? not create new graph.

What exactly do you want to do? There are add_edge and remove_edge
functions. If you want to disable edges temporarily based on a mask, look
at filtered_graph.

-- Jeremiah Willcock


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