26 Nov
2008
26 Nov
'08
6:41 p.m.
On Sun, Nov 23, 2008 at 4:40 PM, Tim Keitt
I have a custom (internal) property map defined as: .......
boost::brandes_betweenness_centrality(g, centrality, boost::weight_map(get(boost::edge_weight, g)));
Oh bother. This was very simple. Unlike nearly every other algorithm in the Graph library, this one is called with all or none named parameters (except for the graph itself): boost::brandes_betweenness_centrality(g, boost::centrality_map(centrality).weight_map(get(boost::edge_weight, g))); works fine. Sigh. THK -- Timothy H. Keitt http://www.keittlab.org/