networkcommons.eval.get_mean_closeness

networkcommons.eval.get_mean_closeness(network)

Get the mean closeness centrality of the network.

Parameters:

network (nx.Graph) – The network to get the mean closeness from.

Returns:

The mean closeness of the network.

Return type:

float