On Jul 6, 2005, at 12:23 PM, Todd A. Gibson wrote:
Among my attempts, here's a typical one that won't compile:
typedef typename std::map
EdgeMap; EdgeMap myedges; //... boost::associative_property_map< EdgeMap > edge_assoc_map(myedges); brandes_betweenness_centrality(g, ... .edge_centrality_map(edge_assoc_map) ...) Can someone enlighten me?
I can try :)
The code above fails because edge descriptors can't be ordered via <. A
future version of the BGL might support this operation, but for now...
External edge property maps are typically constructed using an
edge_index_t property. So, if you add property