Hi,
[snip]
However I have problems with filtering the vertices. Can anyone help?
//edge_filter
positive_edge_weight<EdgeWeightMap> edge_filter(get(edge_weight, g));
//vertex_filter
positive_vertex_weight<VertexWeightMap> vertex_filter(get(vertex_weight, g));
filtered_graph<Graph, positive_edge_weight<EdgeWeightMap> >
fg(g, edge_filter, vertex_filter);