
Hello,
I'm new to boost and a bit confused about how to choose the vertex list
type. My graph has around 50.000, and will be pruned down to roughly
500, so I use clear_vertex and remove_vertex a lot. According to
http://www.boost.org/libs/graph/doc/adjacency_list.html,
this works well only with VL=listS, otherwise I cannot safely remove
vertices. Is that true?
Ok, let's assume for now I need to use VL=listS in order to be able to
safely remove vertices. How can I use the subgraph adaptor? It seems to
require the vertex_index property, so I tried this:
typedef subgraph< adjacency_list
participants (1)
-
Boris Lau