Research Article
Interdependency and Vulnerability of Multipartite Networks under Target Node Attacks
Algorithm 1
Framework of the method for analyzing the robustness of an L-partite network under target node attacks.
Input: an L-partite network G; index | Output: the robustness curves | (1) | Implement for all ; //memory allocation | (2) | ; //see Section 4.4. | (3) | For do | (a) | ; //remove the former nodes from . | (b) | ; //see Sections 4.2 and 4.3. | (c) | ; | (d) | Implement for all ; //in the final LCC, calculate the fraction of nodes remained in each node set. | (4) | End | (5) | Go to step 2 and repeat the above processes for T times. Calculate the average values of . | (6) | Plot with respect to p. |
|