27 Jun
2008
27 Jun
'08
3:27 p.m.
Alex Dow wrote:
Hello,
I'm looking for an online primer or tutorial on writing graph adapters. I read "Converting Existing Graphs to BGL" from the BGL documentation, as well as the docs for several of the existing graph adapters (subgraph, edge_list), but I'm still not getting it. Any leads would be helpful.
Thanks!
Hi, Alex, Here I've tried to implement Daves idea. Works more or less for me. Please, try it out. The alternative approach would be to define "TetminatorFunction(Vertex u, const Graph& g)" in the way it returns true when the depth of the search is greater than some predefined constant. It can easily be done via global variables. However, I'm sure there is a better way to do it. Regards, Sr. Dmitry