Figure 3: Flow diagram of genetic algorithm.