|
    input map and map database         input origin and destination         initialize a population of viruses         initialize a population of individuals (routes). Set Generation= 1         for generation = 1 to Number of Generation (repeat until meeting deadline) {         calculate fitness values of individuals         select two individuals at random         single-point crossover         MGG         }     |
| Figure 1. Algorithm of the proposed method |
|
| Figure 2. Minimal Generation Gap (MGG) model |
|   | Number of viruses | Number of links | Number of nodes |
| Map | 121 | 3993 | 3071 |
|   | Time (min.) | MRR (%) | Turns | C-Time(sec.) |
| GA using 'main-viruses' | 53 | 68 | 8 | 11 |
| GA using all viruses | 50 | 73 | 6 | 70 |
|
|
Figure 3. A part of the tested map                 Figure 4. A part of the tested map and Initial population                 and examples of routes |