Research Article

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

Algorithm 2

Data transmitter.
Require:
Graph ; community structure ;
Ensure:
Guard nodes ; signature propagation;
Step 1. Initialize . For each do , ;
Step 2. For each , initialize the worm signature from the NOC in i’s buffer as ; set initial token τ in i’s buffer;
Step 3. For each , , if exists τ in i’s buffer and j’s buffer is null then duplicate and deliver to node j; if exists j s.t. then duplicate and deliver token τ to node j;
Step 4. If all nodes have received the worm signature, then stop and jump to Final. Else go to Step 3;
Final.