Boost logo

Boost :

From: Jeffrey Hsu (hsu_at_[hidden])
Date: 2003-05-31 14:11:35


It appears that depth_first_visit does not invoke the start_vertex
visitors as the depth_first_search routines do. Here is a patch
to correct that.

                                                Jeffrey

*** depth_first_search.hpp.0 Tue May 27 00:22:48 2003
--- depth_first_search.hpp Sat May 31 12:02:15 2003
***************
*** 237,242 ****
--- 237,243 ----
       typename graph_traits<IncidenceGraph>::vertex_descriptor u,
       DFSVisitor vis, ColorMap color)
    {
+ vis.start_vertex(u, g);
      detail::depth_first_visit_impl(g, u, vis, color);
    }


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk