| Algorithm 1 Critical Candidate Node-based Attack |
|
Input: a network with N nodes. Output: index t of the node to be attacked. 1: 2: 3: 4: 5: for to N do 6: if then 7: 8: end if 9: end for 10: for to N do 11: if j in then 12: 13: 14: else 15: 16: 17: end if 18: 19: end for 20: if then 21: 22: else if then 23: 24: else 25: 26: end if 27: return t |