Open javidcf opened 10 years ago
Of course, the next (and I guess final) step for this feature is to get it implemented in the fully distributed version of brandes_betweenness_centrality
. However, it's not nearly as straightforward as it was with non_distributed_betweenness_centrality
.
Added the possibility to include edge multiplicities in
non_distributed_betweenness_centrality
. Also, this fixes the compilation issues caused by PR #6 in boostorg/graph.Note: The named parameters retrieval has been changed a little bit, not only to get
edge_multiplicity
but also to make it similar to the sequentialbrandes_betweenness_centrality
(thetypedef
declarations). This has been done so bothweight_map
andmultiplicity_map
can be used optionally, which was not the case before (i.e. there would be a compilation error if you didn't provideweight_map
, as explained in this message in the Boost mailing list). Please point it out if there was any reason for it and should not be changed. On the contrary, if this change is right it should also be done in the parallel version ofbrandes_betweenness_centrality
.