Research Article
A Hybrid Metaheuristic DE/CS Algorithm for UCAV Three-Dimension Path Planning
Algorithm 5
Algorithm of DE/CS for UCAV three-dimension path planning.
Begin | Step : Initializing. Set the generation counter ; randomly generate UCAV path | (population/nest) of individuals and each egg in a nest corresponding to a | potential optimal path to the given problem; set discovery rate ; set the mutation | scaling factor and crossover constant CR. | Step : Evaluate the population of according to (5). | Step : While the termination criteria is not satisfied or < MaxGeneration do | Sort the UCAV path (population/nest) from best to worst. | Store the Keep best nests to KeepNest. | Get a cuckoo (say, ) and replace its solution by performing Algorithm 3. | Evaluate its cost (fitness) according to (5). | Choose a path among (say, ) randomly. | if () | Replace by the new solution. | end if | . | ; . | for to NP do | ; | ; | end for | for to NP do | if then | ; | end if | end for | Keep the best solutions/paths. | Sort the population/nest/paths from best to worst and find the current best. | Replace the Keep worst nests with the Keep best nests KeepNest stored. | Pass the current best to the next generation. | . | Step : end while | Step : Inversely transform the coordinates in final optimal path into the original coordinate, | and output | End. |
|