|
Algorithm 2 eGA-based UAV trajectory optimization algorithm |
-
1:
Initialize flight time with , eGA-related parameters , , , , .
-
2:
Generate the initial population with chromosomes.
-
3:
Set the index of generation .
-
4:
repeat
-
5:
Update the fitness values of chromosomes according to (21) and select the best chromosome remaining.
-
6:
Select the parent chromosomes with the binary tournament operator for mating.
-
7:
Perform the ordered crossover operations with probability and shuffle indexes mutation operations with probability on parent chromosomes.
-
8:
Perform the 2-OPT algorithm for local optimization with probability .
-
9:
Update the fitness values of new chromosomes and generate the new population with chromosomes according to the elitist-preserving strategy.
-
10:
Update .
-
11:
until .
-
12:
Select the best chromosome in the final generation as the best visiting sequence, i.e., .
|