Boost Users :
From: Chris Russell (cdr_at_[hidden])
Date: 2003-08-18 22:51:19
Sure - that makes sense. As for the vertex indices.... Hmmm.
Theoretically... I'll have to go look at the source (creation of this
particular graph is constructed by a graph algorithm analyzing another
graph, and referencing data from a third so it's entire possible I messed it
up somewhere...) But if they were screwed up wouldn't I bomb regardless of
which version of the DFS call I made?
----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>
Sent: Monday, August 18, 2003 11:32 PM
Subject: Re: [BGL] named parameter defaults and namespace confusion
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.
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
> 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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
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