
Hi Chris, The namespaces are a red herring. If you don't explicitly supply a color map, the default for DFS is to allocate a temporary map, not to look into the graph for an internal color map. I think the reason I designed it that way is that I figured it would be more common for the user not to care about the color map, and prefer it to be taken care of by the algorithm. As for the memory fault... are your vertex indices in the range [0, num_vertices(g)) ? If not that could cause a problem. Cheers, Jeremy On Monday, August 18, 2003, at 10:13 PM, Chris Russell wrote:
parameters. Specifically, I do not specify the color map in the named parameter list. What I expected was that the DFS would find, and use the default internal color map of the graph declared in namespace A. However, it appears that it does not and allocates a temporary color map (I assume the