cityImage.reach_centrality#

cityImage.reach_centrality(ig_graph, weight, radius, attribute)[source]#

Calculate reach centrality from an igraph graph.

Reach centrality is the sum of a node attribute over all other nodes reachable within a network-distance radius.

Return type:

dict[int, float]