Boost logo

Boost Users :

Subject: Re: [Boost-users] How to use make_bfs_visitor (and/or time_stamper)
From: Anders Wallin (anders.e.e.wallin_at_[hidden])
Date: 2011-06-09 02:36:32

When using a std::vector for the TimeMap parameter of stamp_times I
saw errors along the lines of
"error: no matching function for call to ‘put(........."

I changed the TimeMap parameter to a raw array, and now this compiles for me:

not sure exactly why... (the vertex descriptor type is 'long unsigned
int', which maybe isn't the key-type for a std::vector<Size> ?)


On Thu, Jun 9, 2011 at 2:59 AM, David Doria <daviddoria_at_[hidden]> wrote:
> I figured out how to make a custom visitor for a BFS search:
> but now I am trying to figure out what make_bfs_visitor does, and use
> it, potentially in conjunction with boost::time_stamper
> Would anyone mind taking a look there to see where I am going wrong.
> You can see I tried a lot of things that didn't work :)
> Thanks,
> David
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at