
5 Apr
2007
5 Apr
'07
2:04 p.m.
Hi Shufei,How about not removing the vertex. This will avoid re- indexing.Instead, you can "clear" the vertex of all in and out edges.Another alternative is to add your own internal property map with your own indices. Then it will be totally up to you to setthe indices and change or not change them.And to clarify wrt to Doug's reply, the adjacency_list class does indeedre-index when the VertexList is vecS, which is
Jeremy Siek
Doug's old email was probably about VertexList=listS.Cheers,Jeremy
It seems using 'listS' as VertexList suits my needs and runs faster on deletions! Thanks for clarify and suggestions, Jeremy and Doug! Shufei