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