Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] vecS for vertex container and vertex index adjustments
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-10-02 15:57:48


On Tue, 2 Oct 2012, Ed Linde wrote:

> Hi, I have not yet heard of a solution, when I am having to iterate
> through the graph and then work on the filtered graph in every
> subsequent iteration after I have cleared the vertex. The examples only
> show how to apply the filter ONCE at the end. If I keep calling
> filtered_graph am I then making a lot of instances and hence it would
> keep having to make new copies of my graph? Thanks, Ed

You would use a filtered_graph that is attached to a property map of
Boolean values, then change that property map in-place. The
filtered_graph will see those changes immediately.

-- 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