Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for edge multiplicities in non_distributed_betweenness_centrality #2

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

javidcf
Copy link

@javidcf javidcf commented May 23, 2014

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 sequential brandes_betweenness_centrality (the typedef declarations). This has been done so both weight_map and multiplicity_map can be used optionally, which was not the case before (i.e. there would be a compilation error if you didn't provide weight_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 of brandes_betweenness_centrality.

Pull request boostorg#6 in boostorg/graph changes some internal structs
used by graph-parallel, and so some fixes have been made so
it still compiles.

Note that support for multiplicities has not been added yet.
…ality

Added the possibility to include edge multiplicities in
non_distributed_betweenness_centrality.
@javidcf
Copy link
Author

javidcf commented May 23, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant