netcenlib.algorithms.barycenter_centrality module
- netcenlib.algorithms.barycenter_centrality.barycenter_centrality(network: Graph) dict[str, float][source]
Compute the Barycenter Centrality for each node in the graph G.
Ref: https://www.centiserver.org/centrality/Barycenter_Centrality/
- Parameters:
network – NetworkX graph
- Returns:
Dictionary of nodes with computed centrality as the value