|
Boost Users : |
From: Dmitry Bufistov (dmitry_at_[hidden])
Date: 2006-03-09 06:53:27
Janusz Piwowarski wrote:
> Dmitry wrote:
>
>>Hi there!
>>Current implementation calls
>>vis.discover_vertex(s, g);
>>at this point, the same function being called for all others
>>discovered vertices. I have one small problem wich could be nicely
>>solved with such special handler and I believe that there are others
>>when such handler could be usefull.
>>Any suggestings why things is going exacly in this way?
>
>
> You know the source vertex when you call bfs, don't you? Is it not enough?
> If not, you can use the simple boolean flag to determine whether the vertex
> is first or not.
>
Yes, it is true. It just looks a litlle bit clumsy for me.
Thanks,
Dmitry
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