20 May
2010
20 May
'10
6:36 p.m.
Jeremiah,
graph_type gg = graph_of(begin);
so that gg == g?
That's not really possible, just like there is no mapping from STL iterators to their corresponding paper. In some cases
The situation is not exactly as with STL. In STL, for an iterator i, *i will give the element i refers to. (Forgive my technically imprecise terminology for a moment please.) Whereas, in BGL, for a vertex_iterator vi, *vi will not give the vertex vi refers to; it's g[*vi] that does that. So, in fact, my problem will be solved if I can find a way of getting holds of the vertex vi is referring to even without messing around with g. Any ideas? TIA, --Hossein