Published April 23, 2023 | Version v0.0.7
Software Open

tsantanam/networkx-robustness: v0.0.7

Authors/Creators

  • 1. Georgia Institute of Technology

Description

A package for simulating network attacks on NetworkX graphs. The current supported attacks include random attacks and targeted attacks on nodes with the highest degree centrality, betweenness centrality, closeness centrality, and eigenvector centrality. Attack functions return the initial fraction of nodes in the giant component, a list of the fraction of nodes in the giant component after each node removal, and a list of the average path length in the giant component after each node removal.

The package also contains functions for calculating the Molloy-Reed criterion and the critical threshold for a network.

Files

tsantanam/networkx-robustness-v0.0.7.zip

Files (5.5 kB)

Name Size Download all
md5:e813a8b6a8420c849130033d46dfb81d
5.5 kB Preview Download

Additional details