Boost logo

Boost Users :

From: Jérémie Leguay (njphoto21_at_[hidden])
Date: 2003-08-14 07:13:58


I would like to use the breadth breadth_first_search
with simultaneaously 2 different visitors:
-the distance recorder one
-one of mine

I was thinking about a code like:

class bfs_my_visitor:public default_bfs_visitor {
  bfs_stop_visitor(...) {}

  template < typename Vertex, typename Graph >
    void finish_vertex(Vertex u, const Graph & g)

use in:
bfs_my_visitor vis(...);
breadth_first_search (g,s,
vis )));

But it doesn't work, can you tell the way to combine
thoses visitors in the call of breadth_first_search.


Jérémie leguay
Lip6 - Paris

Do You Yahoo!? -- Une adresse gratuite et en français !
Yahoo! Mail :

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