April 2019
Beginner
190 pages
4h 54m
English
The residual network calculated in the previous section can also be analyzed using the network measures discussed in Chapter 5, The Small Scale – Nodes and Centrality. The following code compares the average clustering of the original air transport network to that of the residual network:
nx.average_clustering(G_air)0.6577002515250526nx.average_clustering(G_residual)0.03604529774872912
The original network has a very high clustering coefficient, typical of geographic infrastructural networks. On the other hand, the residual network, which has been adjusted to compensate for the effects of distance, exhibits a small clustering coefficient.
Read now
Unlock full access