You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we can have weighted_betweenness_centrality as a method. The code will probably look completely different because we exploit the fact that betweenness_centrality is unweighted to speed the shortest path algorithm and paralellize steps, but I think we can implement the weighted_betweenness_centrality with Floyd-Warshall
What is the expected enhancement?
It would be very cool to implement the calculation of betweenness centrality using the edges weights, as done in NetworkX : https://networkx.org/documentation/stable/reference/algorithms/generated/networkx.algorithms.centrality.betweenness_centrality.html
I'm guessing that since there is already some shortest paths methods which use network weights, it shouldn't be so difficult to add.
Thanks for the excellent work!
The text was updated successfully, but these errors were encountered: