
Hello James,
Thanks for your quick answer. I struggled for several hours to find the
answer you gave me within minutes and would have loved to get the answer
this quickly, but I already fixed that problem. ):
If you notice the error is regarding the visitor, not the ColorMap. It is
looking for the initialize_vertex and start_vertex method within the
visitor. Yet, I use the same visitor for a depth_first_search without the
3rd and 4th parameters and I don’t get an error…
I get the error even if I declare those methods within my BFSTreeVisitor, (I
suppose because of the visitor() cast).
So here’s my question: do I need to use another visitor cast? If so, which
one and why?
Jean-Olivier Racine
HYPERLINK "mailto:joracine@humancad.com"joracine@humancad.com
HumanCAD development team
Nexgen Ergonomics Inc.
HYPERLINK "http://www.nexgenergo.com/"http://www.nexgenergo.com/
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of James Sutherland
Sent: Tuesday, May 06, 2008 12:49 PM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] Wrong visitor type when using depth_first_search
with start location
On May 6, 2008, at 10:31 AM, Jean-Olivier Racine wrote:
I have an adjacent_list graph define as such:
typedef adjacency_list