10 Apr
2006
10 Apr
'06
7:28 p.m.
On Apr 10, 2006, at 11:58 AM, Anatoli Sakhnik wrote:
Hello, boost users! Is there a simple way to perform a selective depth-first search in a graph, so that I could choose edges to traverse the graph?
Absolutely. You can use the filtered_graph adaptor: http://www.boost.org/libs/graph/doc/filtered_graph.html
For example, let's assume I can walk through an edge, only if its weight is greater than 0. How could I reveal all reachable vertices?
That's the first example in the filtered_graph documentation :) Doug