9 Aug
2005
9 Aug
'05
8:18 p.m.
Well, the big question for me is could I use this as my hash, too?
Well, yes, you could. However, by using the source and target for your hash function you can be sure that it will work for *all* BGL graphs, whereas accessing "m_property" in the edge descriptor will only work for some graphs.
Thank you very much for your help, Doug! I have only one last question: for which graphs will this not work? It seems to work for me, and I will most probably not change the graph I am using (a directed adjacency_list). Will it not work for graphs with edges without properties? I can't quite believe this... maybe it will not work for adjacency_matrix ? Again, thanks very much! Regards, Wolfram Koska