Boost logo

Boost Users :

From: Juergen (juergen.duerrwang_at_[hidden])
Date: 2019-07-19 07:59:07


Hello, everybody,
I have followed your conversation and since I have a similar problem, I
would be happy if you could help me. At the moment I am really lost.

The problem is to create the color map that can be used in
Depth_First_Search. A special feature that I have is that I want to change
the Vertex color of DFS to modify the DFS. For example like this:

If I make the color map global and pass it to the visitor, everything works:

If the color map is not global but external, I can write the map, but it is
not the same as the DFS color map and therefore I cannot manipulate the DFS
algorithm:

I then tried to create an internal map and work with the get() and put()
functions, but I didn't succeed:

I'd be so grateful for any hint.

Best
Juergen

--
Sent from: http://boost.2283326.n4.nabble.com/Boost-Users-f2553780.html

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