depth_first_visit

Hello, I've found several questions regarding the depth_first_visit algorithm but I can't find a complete example anywhere. I was wondering if someone could post a complete example of the depth_first_visit algorithm in action, including how you created the color map. Thanks

On Mon, 9 Jan 2012, James Lindsay wrote:
Hello, I've found several questions regarding the depth_first_visit algorithm but I can't find a complete example anywhere. I was wondering if someone could post a complete example of the depth_first_visit algorithm in action, including how you created the color map.
Look at libs/graph/example/loops_dfs.cpp in the Boost source distribution for one example. -- Jeremiah Willcock

Am 10.01.2012 05:00, schrieb James Lindsay:
I've found several questions regarding the depth_first_visit algorithm but I can't find a complete example anywhere. I was wondering if someone could post a complete example of the depth_first_visit algorithm in action, including how you created the color map.
I created the color map by using a distance recorder and an adapter to use the distance map as color map. Saves a map that is totally redundant ... -- Jens
participants (3)
-
James Lindsay
-
Jens Müller
-
Jeremiah Willcock