7 Aug
2008
7 Aug
'08
3:29 p.m.
Martin Mann wrote:
Hi Dmitry,
thanks for your reply. Yes this might fix the problem. But than the documentation of "add_edge" is missleading because it should hold for vecS too.
Unfortunately I have to stick to vecS due to some other reasons like automatic vertex indexing via properties etc. So I used the workaround with first checking for the presence of the edge via "edge(..).second". Remember, that first template argument of an boost::adjacency_list<> determines OutEdgeList container.
boost::adjacency_list
Dmitry