netcenlib.algorithms.semi_local_centrality module

netcenlib.algorithms.semi_local_centrality.semi_local_centrality(network: Graph) dict[str, float][source]

Compute the Semi Local Centrality for each node in the graph G.

Ref: https://www.centiserver.org/centrality/Semi_Local_Centrality/

Parameters:

network – NetworkX graph

Returns:

Dictionary of nodes with computed centrality as the value