Research Article

CC2: Defending Hybrid Worm on Mobile Networks with Two-Dimensional Circulation Control

Algorithm 3

Community quarantine.
Require:
; ; ;
Ensure:
Community quarantine;
Step 1. ;
Step 2. For each , , if , i will reject the messages from j (except ) with probability ;
Step 3. For each , i broadcasts quarantine notification to node , j will reject messages from other communities with probability ;
Step 4. For each , if , then stop and jump to Final. Else go to Step 3;
Final.