Research Article
[Retracted] Cascading Failure Dynamics against Intentional Attack for Interdependent Industrial Internet of Things
Algorithm 1
Network cascading failure against intentional attack simulation.
| (1) | for each do | | (2) | for to 50 do | | (3) | Target attack network ; | | (4) | Remove the node of the attacked node network ; | | (5) | int ; | | (6) | while The number of network nodes is still changing do | | (7) | ++; | | (8) | ifthen | | (9) | Delete the node in network that has lost its normal function due to the failure of the node in network ; | | (10) | else | | (11) | Delete the node in network that has lost its normal function due to the failure of the node in network ; | | (12) | end if | | (13) | end while | | (14) | end for | | (15) | Save the number of remaining nodes in the network; | | (16) | end for |
|