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