International Journal of Computational Intelligence Systems

Volume 13, Issue 1, 2020, Pages 1315 - 1331

Quantum Behavior-Based Enhanced Fruit Fly Optimization Algorithm with Application to UAV Path Planning

Authors
Xiangyin Zhang*, 1, 3, 4, ORCID, Shuang Xia1, 2, 4, Xiuzhi Li1, 2, 4
1Faculty of Information Technology, Beijing University of Technology, Beijing 100124, PR China
2Engineering Research Center of Digital Community, Ministry of Education, Beijing 100124, PR China
3Beijing Laboratory for Urban Mass Transit, Beijing 100124, PR China
4Beijing Key Laboratory of Computational Intelligence and Intelligent System, Beijing 100124, PR China
*Corresponding author. Email: zhangxgyn@foxmail.com
Corresponding Author
Xiangyin Zhang
Received 19 January 2020, Accepted 23 August 2020, Available Online 7 September 2020.
DOI
10.2991/ijcis.d.200825.001How to use a DOI?
Keywords
Fruit fly optimization algorithm; Continuous function optimization; Delta potential well; Quantum behavior; Path planning
Abstract

As a newly developed simple and effective optimization technology, the fruit fly optimization algorithm (FOA) has been successfully applied in many fields. To accelerate the algorithm convergence and avoid the local optimum, the enhanced FOA based on quantum theory called QFOA is proposed in this paper. When establishing the quantum Delta potential well around the location of fruit fly swarm, QFOA introduces the quantum behavior-based searching mechanism into the original osphresis-based search procedure of FOA. In the process that fruit flies find and move toward the food source, fruit flies follow the wave function property of the Delta potential well rather than the Newtonian mechanics. Taking advantage of the probability and uncertainty of quantum theory, the proposed QFOA can effectively overcome the weakness in premature convergence and easy trapping into local optimum. Since there are two popular models of the basic FOA, this paper also develops two corresponding QFOAs. Experimental results on various benchmark functions show that both the two QFOA models has overall better performance compared with the basic FOA as well as other FOA variants and other well-known optimization algorithms. In addition, the proposed QFOAs are also applied to unmanned aerial vehicle (UAV) path planning problem in the three-dimensional environment, and comparative results about the obtained optimal flight path and population convergence process show the effectiveness of QFOAs.

Copyright
© 2020 The Authors. Published by Atlantis Press B.V.
Open Access
This is an open access article distributed under the CC BY-NC 4.0 license (http://creativecommons.org/licenses/by-nc/4.0/).

1. INTRODUCTION

The complex continuous optimization problem, which is to find the optimal solution that fulfills a set of constraints and achieves the maximum or minimum value of the function [1], is a universal issue, in many mathematical and engineering fields, such as automatic control, decision-making, signal processing, etc. Many traditional optimization techniques, which often use the gradient strategy, are applied to these problems, such as the integer programming, gradient descent methods, linear programming, and dynamic programming [2]. They are usually based on the single initial individual solution and will achieve the same local solutions when starting from the same initial individual. When dealing with complex practical problems that generally have high dimension, or multiple constraints, or multimodal [3], these traditional optimization techniques easily lead to the high computational complexity and even fail to determine the optimal solutions. To solve the complex optimization problems, population-based intelligent optimization techniques, which usually search for the feasible solution in some random fashion with starting from the initial solution set, have emerged and show their advantages in terms of calculate precision and time complexity [4,5]. These intelligent optimization techniques are generally inspired by the biological social behavior, such as ant colony optimization (ACO) [6], particle swarm optimization (PSO) [7], artificial bee colony (ABC) optimization [8], firefly algorithm (FA) [9], etc., and the evolution process in nature, including differential evolution (DE) algorithm [4,10], genetic algorithm (GA) [11], etc., as well as the physical or chemical phenomenon, such as chemical reaction optimization (CRO) algorithm [12], gravitational search algorithm (GSA) [13], biogeography-based optimization (BBO) [14] algorithm, etc.

The fruit fly optimization algorithm (FOA) is another newly proposed population-based intelligent optimization technique [15], which is originally inspired by the food-finding behavior of fruit flies. FOA is not only very effective to solve complex optimization problems, but also more simple and easy to implement than other existing population-based algorithms [16]. Firstly, the procedure of FOA only takes several lines to code the core part of the algorithm in any programming language. Secondly, FOA has no other additional control parameters besides the maximum number of iteration and population size. Therefore, FOA has widely attracted the attention of many researchers from various fields, including path planning [16,17], flowshop rescheduling [18], multi-dimensional knapsack problem [19], parameter identification [20], controller parameter tuning [21], etc.

FOA has simple operation and acceptable searching capability, however, it also has some shortcomings of the premature convergence and slow convergent speed during the later evolution process. To overcome these shortcomings as well as improve the search efficiency and global search capability, various improved FOA variants have been put forward by researchers [1, 16, 18-20,22-26]. The improved fruit fly optimization (IFFO) algorithm [1] introduces a new parameter to adaptively control the search scope around the fruit fly swarm location and a new solution generating method to enhance the accuracy and convergence rate. The phase angle-encoded FOA with mutation adaptation mechanism (θ-MAFOA) [12] adopts the mutation adaptation mechanism to enhance the balance between the exploitation and exploration ability of the basic FOA, and besides, the phase angle-based-encoded strategy for fruit fly locations is also adopted to achieve the better convergence performance. In the chaotic-enhanced fruit fly optimization algorithm (CFOA) [20], the chaotic sequence is employed to enhance the global optimization capacity of the original FOA. In the multi-swarm fruit fly optimization algorithm (MFOA) [24], several sub-swarms move independently in the search space at the same time and local behavior rules between sub-swarms are employed to explore global optimal. All these improved FOA variants succeed in overcoming the drawback of the original FOA to some degree. However, for the FOA variants, there is still much room for improvement to achieve better performance in terms of either convergence speed or avoiding to trap into the local optimum, especially for the complex practical problems. Generally, the population diversity and the search randomness play the crucial roles in the population-based optimization techniques. In this paper, we proposed the quantum-behaved FOA (QFOA) model, with the purpose that try to take advantage of the uncertainty of quantum theory to further enhance the performance of FOA by enabling fruit flies to have the quantum behavior. Especially, for the two popular standard FOA models in the literatures, two QFOA models are both presented accordingly, as well as the implement processes.

The idea behind quantum theory, of which the theoretical basis is the classical quantum mechanics, is to hijack some of the “spookiness” in the area of physics known as quantum behavior mechanism [27]. For the population-based optimization techniques, solutions can usually show the higher diversity, which helps to achieve the powerful searching capability, when moving according to the quantum behavior rule. For example, the quantum-behaved particle swarm optimization (QPSO) makes particles move following quantum mechanics rather than Newtonian mechanics, and thus, help to enhance the particle’s ability of jumping out of the local optimum [28,29]. The quantum firefly algorithm (QFA) integrates quantum theory into the basic FA and succeed in overcoming the loss of diversity [30].

In this paper, we introduce the quantum theory into the original FOA to achieve more effective performance. In the enhanced FOA, we assume that the fruit flies locate in a quantum world and the Delta potential well exists around the location of fruit fly swarm. When moving in the space to search for the food, fruit flies follow the quantum mechanics and their behaviors have the uncertainty as the wave function. The quantum-behaved strategy can effectively avoid the premature convergence and improve the escaping ability from the local optimum. Numerical results on benchmark functions reveal that the proposed FOA models are superior to the standard FOA models and other FOA variants as well as some state-of-the-art population-based techniques. Then, we apply the proposed QFOA models to the practical complex problem that finds the optimal flight path for unmanned aerial vehicle (UAV) in the three-dimensional (3D) terrain environments with various enemy weapons. Numerical experiments are carried out on various test scenarios and the results show the effectivity of our proposed QFOA models.

The rest of this paper is organized as follows: Overview of the basic FOA is described in Section 2, including common descriptions of two FOA models. Section 3 presents detailed statement and implement process for the models of the proposed QFOA variants. In Section 4, the comparison and simulation results on several benchmark functions are studied. Section 5 presents the application of the proposed QFOA models to the UAV path planning. Experimental results of path planning are shown in Section 6. Section 7 concludes this paper finally.

2. STANDARD FOA MODELS

FOA is a new population-based algorithm for searching global optimization based on the foraging behavior of fruit flies [11]. Fruit flies are superior to other species in terms of olfactory and visual senses. By using their osphresis, fruit flies can find all types of scents floating in the air and explore the direction of food source. After that, fruit flies can find the food source when getting close to the location of food by using their vision.

According to the foraging characteristics of the fruit fly swarm, FOA can be divided into three consecutive operations, namely swarm location initialization, osphresis-based search, and vision-based search. As to the detailed implementation, existing literatures give two different types of mathematical models to describe the three operations, which are summarized and recorded as FOA-1 and FOA-2 in this paper. Both the two FOA models will be described in the following section:

Without loss of generality, the global optimization problem in the continuous domain can be summarized as follows:

minf(x)s.t.xjXmin,Xmax,j=1,2,,D (1)
where f(x) is the objective function with the D-dimensional decision variable x=x1,x2,,xD, and Xmin and Xmax are the lower and upper bounds of the decision space, respectively.

2.1. FOA-1 Model

In 2012, W.T. Pan put forward the basic idea of FOA for the first time [15], and meanwhile, the complete mathematical model was given to describe the three operations of FOA. In this type of FOA model, the decision variable is encoded as the reciprocal of the distance between the fruit fly location and the origin. To avoid confusion, the FOA model appearing in Refs. [9,15,17,19], is recorded as FOA-1, of which the operations are described as follows:

  1. Swarm location initialization

Set the population size Mosp and the maximum number of iterations Gmax, and then, the fruit fly swarm location (Xaxis, Yaxis) is randomly initialized in the decision space as

Xaxis=rand×XmaxXmin+XminYaxis=rand×YmaxYmin+Ymin (2)
where rand is the uniform random number within [0,1].

  1. Osphresis-based search

In the osphresis-based search process, the fruit fly swarm generate Mosp new locations of the food source that are randomly around the current location of the fruit fly swarm. The random searching strategy using the osphresis to find the new food location is given by

Xi=Xaxis+randomYi=Yaxis+random (3)
where i = 1, 2, …, Mosp, and random is the random value in the range of [−1,1].

For every location generated by the osphresis-based searching strategy, its smell concentration judgment Si is the reciprocal of the distance between the location and the origin, as follows:

Disti=Xi2+Yi2   Si=1/Disti (4)

Actually, the smell concentration judgment corresponds to the candidate solution of the objective function in the decision space. The value of the objective function for the candidate solution, which corresponds to the smell concentration of the food source for the smell concentration judgment, is calculated as follows:

Smelli=fSi (5)
  1. Vision-based search

The vision-based searching process of the fruit fly swarm is essentially a greedy selection procedure. The fruit fly swarm observe all the locations generated via the above osphresis-based searching process and select the best location with the minimum smell concentration, as follows:

index=argminSmelli (6)

The best smell concentration Smellindex is compared with Smellaxis of the fruit fly swarm location (Xaxis, Yaxis). If Smellindex< Smellaxis, then the fly swarm will fly toward the new location by using vision and (Xaxis, Yaxis) will be replaced by (Xindex, Yindex). The vision-based search can be described as follows:

Smellaxis=Smellindex     Xaxis=Xindex     Yaxis=Yindex (7)

The osphresis-based and vision-based searching processes are repeated until the stopping criterion is satisfied. The general procedure of abovementioned operations is shown in Algorithm 1.

Algorithm 1: Procedure of FOA-1

 /* Initialization*/

1. Set the generation counter g = 0;

2. Set the number of fruit flies as Mosp;

3. Randomly initialize the fruit fly swarm’s location as [Xaxis, Yaxis];

 /* Iterative search*/

4. while termination criteria is not satisfied do

5.   Generation counter g = g + 1

   /* Search using osphresis */

6.   for i = 1: Mosp do

7.    Generate the random direction and distance as:

      Xi = Xaxis + random, Yi = Yaxis + random

8.     Compute the distance to the origin as: Di=Xi2+Yi2

9.     Calculate judged value of smell concentration as: Si= 1/Di

10.   Evaluate the smell concentrations as: Smelli = f(Si)

11.  end for

    /* Search using vision */

12.  Select the fruit fly that has the best smell concentration:

      index = arg max(Smelli)

13.  if [Xindex, Yindex] has the better smell than [Xaxis, Yaxis], then

14.    Xaxis = Xindex and Yaxis = Yindex

15. end while

2.2. FOA-2 Model

In addition to the above FOA-1 model, there existing another popular mathematical model to describe operations of FOA [1,23], which is recorded as FOA-2 in this paper. The FOA-2 model codes the decision variable using the floating number directly and can be adapted to solve the high-dimensional functions [1]. The operations of FOA-2 model are described as follows:

  1. Swarm location initialization

Firstly, the fruit fly swarm location xaxis = [xaxis,1, xaxis,2, …, xaxis,D] is randomly initialized as

xaxis,j=rand×XmaxXmin+Xmin (8)
where rand is the uniform random generator number in the range of [0,1], j = 1,2,…,D.

  1. Osphresis-based search

In the osphresis-based search process, the Mosp new locations are randomly generated around the current swarm location as

xij=xaxis,j+random (9)
where i = 1, 2, …, Mosp, j = 1,2,…,D, and random is the random value in the range of [−1,1].

Then, the smell concentration is calculated as follows:

Smelli=fxi (10)
where xi = [xi1, xi2, …, xiD].

  1. Vision-based search

The vision-based searching process of the fruit fly swarm is essentially a greedy selection procedure. That is, the fruit fly swarm observer all the locations generated via the above osphresis-based searching process and find out the best location that has the minimum smell concentration, as follows:

index=argminSmelli (11)

Compare the best smell concentration Smellindex with the smell concentration Smellaxis of the current swarm location xaxis. If Smellindex<Smellaxis, then the fly swarm will leave xaxis and fly toward the new location xindex by using vision, as follows:

Smellaxis=Smellindex  xaxis=xindex,if Smellindex<Smellaxis(12)

General procedure of the FOA-2 model is shown in Algorithm 2.

Algorithm 2: Procedure of FOA-2

 /* Initialization */

1. Set the generation counter g = 0;

2. Set the number of fruit flies as Mosp;

3. Randomly initialize xaxis = [xaxis,1, xaxis,2, …, xaxis,D] with [Xmin, Xmax]D;

 /* Iterative search */

4. while termination criteria is not satisfied do

5.   Generation counter g = g + 1

   /* Search using osphresis */

6.   for i = 1: Mosp do

7.    Generate random location as xij= xaxis, j + random, j = 1,2,…D

8.    if xij> Xmax, then

9.     xij= Xmax

10.   if xij< Xmin, then

11.    xij= Xmin

12.  Evaluate smell concentrations Smelli = f(xi), xi= [xi1, xi2,…, xiD]

13.  end for

    /* Search using vision */

14.  Select the fruit fly that has the best smell concentration:

    index = arg max(Smelli)

15.  if f(xindex) < f(xaxis), then

16.   xaxis = xindex

17.end while

3. QUANTUM-BEHAVED FOA MODELS

Based on the quantum theory, the fruit fly swarm are assigned to move in the quantum multi-dimensional space. The Delta potential well model is established to increase the uncertainty that the fruit fly sense and move to the food.

3.1. Quantum Delta Potential Well

According to the quantum theory [28], objects are described by the wave function ψ(x, t), rather than the position x and velocity v. Any quantum object has the wave-like properties and can exist in many places at once. In the quantum space, the probability of the object appearing on a spot is proportional to the strength module of the wave function on this spot, as follows:

|ψ(x,t)|2dxdydz=Qdxdydz (13)
where Qdxdydz is the probability of the object appearing on the spot x= (x, y, z) at time t. Thus, the strength module |ψ(x,t)|2 is the probability density function satisfying the following equation:
+|ψ|2dxdydz=+Qdxdydz=1 (14)

According to the quantum physics, the motion of objects is described by the Schrödinger’s equation as follows:

ihtψ(X,t)=H^ψ(X,t) (15)
where ħ is a constant called Planck Constant, Ĥ is the Hamiltonian operator which is given by the following equation:
H^=h2m2+V(x) (16)
where m is the object mass and V(x) denotes the potential field of the object.

3.2. Quantum Behavior of Fruit Flies

Hypothesize the fruit fly swarm move in the quantum space, and fruit flies search for the food source in the Delta potential well. In the quantum space, the foraging and random search operations of fruit flies are replaced by the quantum behavior. Both the osphresis and vision of fruit flies become more uncertainty and random, which can help to increase the population diversity.

For simplicity, the one-dimensional space is considered here. If the location of the food source is denoted by x, its potential energy in the one-dimensional Delta potential well is represented as follows:

V(x)=γδ(xpaxis)=γδ(y) (17)
where the location of fruit fly swarm paxis is center of the Delta potential well.

According to the Schrödinger’s equation [7,28], the following normalized wave function can be obtained as

ψ(y)=1Le|y|/L (18)
where L is the characteristic length of Delta potential well. Therefore, the probability density function is as follows:
Q(y)=|ψ(y)|2=1Le2|y|/L (19)

The above equation is equated to

y=±L2ln1u (20)
where u is the random number uniformly distributed on (0, 1). Hence, we can obtain the food source location that the fruit fly searches for, which is determined as follows:
x=paxis±L2ln1u (21)

3.3. Quantum-Behaved Searching Mechanism

In my proposed QFOA model, it assumes that a 1-D Delta potential well exists on each dimension at the swarm center attractor point, and the osphresis-based search operation has the quantum properties. The quantum-behaved foraging process of the fruit fly is depicted by the wave function instead of the completely random way.

Compared with the two standard FOA models, both two proposed QFOA models also contain three basic operations, including the swarm location initialization, the osphresis-based search using quantum-behaved mechanism, and the vision-based search. Unlike the standard FOA, the proposed QFOA models execute the quantum-behaved searching mechanism instead of the completely random osphresis-based search which are described in details as follows.

3.3.1. Quantum-behaved searching mechanism of QFOA-1

In the osphresis-based search process, Mosp new locations of the food source are generated in the Delta potential well of which the swarm location (Xaxis, Yaxis) is the center. Different from (9), the quantum-behaved searching mechanism for FOA-1 can be given by

Xi=Xaxis±Lx,i2ln1rxYi=Yaxis±Ly,i2ln1ry (22)
where i = 1, 2, …, Mosp, rx and ry are the random value in the range of [0,1]. Lx,i and Ly,i are the Delta potential well characteristic length of the corresponding dimension, which are determined by the last searching location of the fruit fly based on the olfactory as follows:
Lx,i=2b|XaxisXi|Ly,i=2b|YaxisYi| (23)
where g is the current number of iteration and b is contraction-expansion coefficient to control the quantum searching range, which is determined by
b=b1logsig100.5g/Gmax+b2 (24)
where b1 and b2 are the two parameters to restrict the value range, namely b[b2,b1+b2].

3.3.2. Quantum-behaved searching mechanism of QFOA-2

As to the QFOA-2 model, fruit flies search the location of food source in the 1-D Delta potential well around the fruit fly swarm xaxis = [xaxis,1, xaxis,2, …, xaxis,D] and generate the new food location on each dimension by the following equation:

xij=xaxis,j±Lij2ln1r (25)
where i = 1, 2, …, Mosp, j = 1, 2, …, D, and r is a random number that uniformly distributed in [0,1]. The characteristic length L is determined by
Lij=2b|xaxis,jxij| (26)
where the parameter b is determined by (24).

3.3.3. Detailed procedure of QFOA models

The detailed implementation procedure of two QFOA models are presented in Algorithms 3 and 4, respectively.

Algorithm 3: Procedure of QFOA-1

 /* Initialization*/

1. Set the generation counter g = 0;

2. Set the number of fruit flies as Mosp; set the parameters b1 and b2;

3. Randomly initialize the fruit fly swarm’s location as [Xaxis, Yaxis] and ensure the judged value of smell concentration S is within the search range [Xmin, Xmax];

 /* Iterative search */

4. while termination criteria is not satisfied do

5.   Generation counter g = g + 1;

6.   Calculate parameter b = b1 logsig(10 (0.5 −g/Gmax)) + b2;

   /* Quantum-behaved search using osphresis */

7.   for i = 1: Mosp do

8.    Calculate the characteristic length

     Lx,i = 2b|XaxisXi|, Ly,i = 2b|YaxisYi|;

9.    while 1 do

10.    Generate the random direction and distance as follows:

11.    if random > 0.5 then

12.     Xi = Xaxis+ 0.5 Lx,j ln(1/rx);

13.    else

14.     Xi = Xaxis– 0.5 Lx,j ln(1/rx);

15.    if random > 0.5 then

16.     Yi = Yaxis+ 0.5 Ly,j ln(1/ry);

17.    else

18.     Yi = Yaxis– 0.5 Ly,j ln(1/ry);

19.    Calculate the distance to the origin:

      Di=Xi2+Yi2;

20.    Calculate judged value of smell concentration:

      Si= 1/Di;

21.    if SiXmax and SiXminthen

22.     break;

23.   end while

24.   Evaluate the smell concentrations:

     Smelli = f(Si);

25.  end for

    /* Search using vision */

26.  Select the fruit fly that has the best smell concentration:

     index = arg max(Smelli);

27.   if [Xindex, Yindex] has the better smell than [Xaxis, Yaxis], then

28.    Xaxis = Xindex and Yaxis = Yindex;

29. end while

4. RESULTS FOR FUNCTION OPTIMIZATION

To show the advantage of the proposed QFOA models, the standard FOA models [1,15], as well as some existing improved FOA variants, e.g., IFFO [1], MFOA [24], and θ-MAFOA [16] are used to compare. Besides, three typical papulation-based algorithms are also compared with the proposed QFOA, including PSO [7], DE [4], ABC [8]. All algorithms are coded using Matlab-2009a according to their original references, and no commercial algorithm tools are used. The experiments are performed on a computer with Intel(R) Core(TM) i5-4590 @ 3.3GHz CPU and 8 GB RAM under Win-7 platform. Each algorithm is run 50 times independently for every benchmark function and the statistical results are used to evaluate and compare the performance of the algorithm.

Algorithm 4: Procedure of QFOA-2

 /* Initialization */

1. Set the generation counter g = 0;

2. Set the number of fruit flies as Mosp; set parameters b1 and b2;

3. Randomly initialize xaxis= [xaxis,1,xaxis,2,…,xaxis, D] with    [Xmin, Xmax]D;

 /* Iterative search */

4. while termination criteria is not satisfied do

5.   Generation counter g = g + 1;

6.   Calculate the parameter b = b1 logsig(10 (0.5 − g/Gmax)) + b2;

    /* Quantum-behaved search using osphresis */

7.     for i = 1: Mosp do

8.      for j = 1: D do

9.      Calculate the characteristic length

      Lij = 2b|xaxis, jxij|;

10.     while 1 do

11.      Generate the random location as follows:

12.      if random > 0.5 then

13.       xij= xaxis,j + 0.5 Lijln(1/r);

14.      else

15.       xij = xaxis, j– 0.5 Lijln(1/r);

16.      if xijXmax and xijXminthen

17.       break;

18.     end while

19.    end for

20.    Evaluate the smell concentrations:

      Smelli = f(xi), xi= [xi1, xi2, …, xiD];

21.   end for

     /* Search using vision */

22.   Select the fruit fly that has the best smell concentration:

    index = arg max(Smelli);

23.   if f(xindex) < f(xaxis), then

24.    xaxis = xindex;

25. end while

4.1. Test Functions

We considered eight typical benchmark functions with dimensions equal to 10 and 20 (i.e., D = 10 and D = 20), which are commonly used in the literatures [1,7,24]. The test functions include four unimodal (F1, F2, F3, F4) and four multimodal functions (F5, F6, F7, F8). For all the tested functions, we set the optimum o=1D.

  1. F1: Shifted Sphere Function

    F1(x)=i=1Dzi2, z=xo,

    x=x1,x2,,xD,o=o1,o2,,oD

    where x∈[−100, 100]D, the global optimum x*=o, and F1(x*)=0.

  2. F2: Shifted Schwefel’s Problem 1.2

    F2(x)=i=1Dj=1izj2, z=xo,

    x=x1,x2,,xD,o=o1,o2,,oD

    where x∈[−100, 100]D, the global optimum x*=o, and F2(x*)=0.

  3. F3: Shifted Rotated High Conditioned Elliptic Function

    F3(x)=i=1D106i1D1zi2, z=xo,

    x=x1,x2,,xD, o=o1,o2,,oD

    where x∈[−100, 100]D, the global optimum x*=o, and F3(x*)=0.

  4. F4: Shifted Step Function

    F4(x)=i=1Dzi+0.52,z=xo,

    x=x1,x2,,xD,o=o1,o2,,oD

    where x∈[−100, 100]D, the global optimum x*=o, and F4(x*)=0.

  5. F5: Shifted Rosenbrock’s Function

    F5(x)=i=1D1100zi2zi+12+zi12,z=xo,

    x=x1,x2,,xD,o=o1,o2,,oD

    where x∈[−10, 10]D, the global optimum x*=o, and F5(x*)=0.

  6. F6: Shifted Rotated Ackley’s Function with Global Optimum on Bounds

    F6(x)=20exp0.21Di=1Dzi2exp1Di=1Dcos(2πzi)+20+e,z=xo,

    x=x1,x2,,xD,o=o1,o2,,oD

    where x∈[−32, 32]D, the global optimum x*=o, and F6(x*)=0.

  7. F7: Shifted Rastrigin’s Function

    F7(x)=i=1Dzi210cos(2πzi)+10,z=xo,

    x=x1,x2,,xD,o=o1,o2,,oD

    where x∈[−5.12, 5.12]D, the global optimum x*=o, and F7(x*)=0.

  8. F8: Shifted Rotated Griewank’s Function without Bounds

    F8(x)=14000i=1Dzi2i=1Dcos(zii)+1,z=xo

    x=x1,x2,,xD,o=o1,o2,,oD

    where x∈[−600, 600]D, the global optimum x*=o, and F8(x*)=0.

4.2. Parameter Setting

The parameter settings of all tested algorithms are as follows:

  1. QFOA-1 and QFOA-2: set the population size as Mosp= 10D and the maximum number of function evaluation as fes = 5000D, as well as the parameters are set as b1= 1 and b2= 0.5 for both two QFOA models.

  2. FOA-1 and FOA-2: the population size and the maximum number of function evaluation are set as Mosp= 10D and fes = 5000D.

  3. IFFO: set Mosp= 10D and fes = 5000D; in addition, set parameters λmax= 0.5 and λmin= 0.01 according to the original literature [1].

  4. MFOA: set Mosp= 10D and fes = 5000D as well as parameter M = 10 according to the original literature [24].

  5. θ-MAFOA: set Mosp= 10D and fes = 5000D as well as the Cr = 0.9 according to the original literature [13].

  6. PSO: set the population size as Mpop= 10D and the maximum number of function evaluation is fes = 5000D; other parameters are set as c1= c2= 0.5, wmax= 0.9 and wmax= 0.4 [2].

  7. DE: set Mpop= 10D and fes = 5000D; other parameters are set as F = 0.6 and cr = 0.9 [9].

  8. ABC: set Mpop= 10D, fes = 5000D and Limit = 50 [8].

All the above parameters values are set according to the suggestions in related literatures, where these values have been proved to lead to the good performance, empirically.

4.3. Comparison and Discussion

The mean best function values of the 50 independent trials for each combination of benchmark function and tested algorithm are recorded in Table 1, while the corresponding minimum best function values of the 50 independent trials are recorded in Table 2.

D F QFOA-1 QFOA-2 FOA-1 FOA-2 IFFO MFOA θ-MAFOA PSO DE ABC
10 F1 4.51×10−29 2.47×10−28 2.40×10−1 3.78×10−1 5.90×10−5 3.70×10−15 2.95×10−10 8.14×10−6 3.14×10−6 2.25×10−7
F2 5.26×10−14 6.78×10−12 3.32×10−1 3.70×10−1 6.96×10−1 3.25×10−9 4.24×10−9 2.42×10−1 1.01 7.46
F3 1.09×10−12 9.97×10−25 9.59×102 1.19×105 6.08 2.62×105 5.04×10−6 8.03×10−5 2.70×10−4 4.58×10−3
F4 0 0 0 0 0 0 0 0 0 0
F5 4.26 4.47 2.89×101 1.35×103 2.82×101 2.08×101 9.00 9.36 6.78 3.26×101
F6 2.32×10−14 3.06×10−14 1.45 1.57×101 2.76×10−3 2.48×10−8 2.20×10−5 2.39×10−4 1.14×10−3 4.01×10−1
F7 3.104 1.58×10−16 2.65×101 3.74×101 2.63×10−5 1.45×101 4.85 1.07×101 2.13×101 1.60×10−5
F8 4.22×10−17 6.22×10−2 2.63×10−2 4.26×101 3.71×10−2 1.19×10−1 3.01×10−11 4.93×10−1 4.96×10−1 4.68×10−2
20 F1 4.43×10−20 2.94×10−14 1.24 1.82 1.20×10−4 9.25×10−13 3.35×10−9 8.34×10−1 4.57×10−5 8.86×10−6
F2 5.01×10−4 1.02×10−2 2.22 2.70 2.46×101 4.68×10−4 2.07×10−7 3.84 5.72×103 2.60×102
F3 1.04×101 2.46×10−8 1.03×104 7.37×105 1.42×101 1.31×106 3.94×10−4 1.23×102 7.90×10−3 1.41×10−1
F4 0 0 2.20×10−1 1.52 0 0 0 8.00×10−1 0 0
F5 1.53×101 1.99×101 1.65×102 1.90×103 6.21×101 1.74×101 1.90×101 2.27×102 6.63×101 7.47×101
F6 9.51×10−11 1.55×10−8 2.29 1.87×101 2.89×10−3 3.71×10−7 4.96×10−5 3.87×10−1 2.45×10−3 1.04×101
F7 8.68 1.06×10−12 8.41×101 1.31×102 5.80×10−5 5.42×101 9.43 2.04×101 8.28×101 6.51×10−5
F8 8.91×10−15 4.37×10−2 8.10×10−2 5.82×10−1 1.56×10−2 8.82×10−3 2.21×10−10 8.92×10−1 3.18×10−1 3.27×10−2

Note: MFOA, multi-swarm fruit fly optimization algorithm; QFOA, quantum-behaved fruit fly optimization algorithm; FOA, fruit fly optimization algorithm; IFFO, improved fruit fly optimization; θ-MAFOA, angle-encoded fruit fly optimization algorithm with mutation adaptation mechanism; PSO, particle swarm optimization; DE, differential evolution; ABC, artificial bee colony.

Table 1

Mean optimization results on benchmark functions.

D F QFOA-1 QFOA-2 FOA-1 FOA-2 IFFO MFOA θ-MAFOA PSO DE ABC
10 F1 0 1.23×10−32 8.03×10−2 1.77×10−1 6.80×10−6 2.16×10−16 1.67×10−11 6.65×10−14 5.58×10−7 6.36×10−9
F2 1.97×10−24 1.30×10−15 1.53×10−1 1.40×10−1 1.99×10−1 1.02×10−10 6.97×10−10 4.37×10−3 2.31×10−1 4.26×10−1
F3 0 0 3.41×102 2.15×104 1.41×10−1 2.85×104 2.32×10−7 5.64×10−10 7.05×10−5 1.12×10−5
F4 0 0 0 0 0 0 0 0 0 0
F5 2.38 2.50×10−3 2.03×101 1.62×101 5.77×10−2 3.46 9.00 5.25 3.71 1.37×10−2
F6 4.44×10−15 4.44×10−15 9.43×10−1 1.32 1.28×10−3 8.26×10−8 8.99×10−6 1.28×10−6 4.39×10−4 4.13×10−4
F7 0 0 1.66×101 1.99×101 5.37×10−6 4.97 9.95×10−1 3.98 1.18×101 9.26×10−7
F8 0 7.40×10−3 1.06×10−2 2.39×101 9.42×10−5 3.45×10−2 2.54×10−12 3.34×10−1 3.22×10−1 7.28×10−6
20 F1 1.05×10−27 7.39×10−20 7.58×10−1 1.22 3.05×10−5 7.51×10−14 1.08×10−9 3.83×10−3 1.75×10−5 2.28×10−6
F2 2.98×10−7 3.11×10−4 1.40 1.83 7.50 6.92×10−5 9.20×10−8 2.24 3.54×103 5.86×101
F3 1.28×10−18 6.73×10−16 4.93×103 2.73×105 7.81×10−1 4.38×105 9.50×10−5 2.49 2.76×10−3 5.12×10−3
F4 0 0 0 0 0 0 0 0 0 0
F5 1.26×101 2.20×10−1 1.08×102 1.39×102 7.39×10−1 1.22×101 1.90×101 4.45×101 3.15×101 3.67×10−1
F6 7.90×10−14 3.66×10−11 1.79 2.66 1.70×10−3 1.13×10−7 3.42×10−5 3.35×10−2 1.52×10−3 1.80×10−3
F7 2.98 7.11×10−15 6.50×101 9.72×101 2.11×10−5 2.79×101 4.97 7.82 6.30×101 1.69×10−5
F8 0 1.22×10−15 5.73×10−2 1.46×101 1.12×10−4 7.63×10−11 6.54×10−11 1.59×10−1 1.12×10−1 9.78×10−6

MFOA, multi-swarm fruit fly optimization algorithm; QFOA, quantum-behaved fruit fly optimization algorithm; FOA, fruit fly optimization algorithm; IFFO, improved fruit fly optimization; θ-MAFOA, angle-encoded fruit fly optimization algorithm with mutation adaptation mechanism; PSO, particle swarm optimization; DE, differential evolution; ABC, artificial bee colony.

Table 2

Minimum optimization results on benchmark functions.

From Table 1, it can be seen that, in the average sense, two QFOA models show the great advantage in finding the global minimum on all sixteen benchmarks and are significantly superior to the basic standard FOA models on these functions. Compared with other improved FOA variants, two QFOA models achieve the significantly better performance on F1-F3 and F5-F6 with D = 10 as well as F1 and F6 with D = 20. For other functions, such as F7-F8 with D = 10 as well as F3 and F5-F8 with D = 20, there is one QFOA model, either QFOA-1 or QFOA-2, that outperforms IFFO, MFOA, and θ-MAFOA. It can be claimed that at least one FOA model performs the best on fifteen functions except for only F2 with D = 20. Hence, in the average sense, it can be concluded that the proposed QFOA models do not only greatly improve the original standard FOA models, but also significantly exceed other improved FOA variants. Compared with PSO, DE, and ABC, Table 1 shows that both two QFOA models are superior to the three population-based algorithms on ten functions, while at least one QFOA is superior to the three population-based algorithms on all sixteen functions.

Table 2 indicates that the proposed QFOA models have the best performance than other tested algorithms on nine functions, and meanwhile, at least one QFOA outperforms the three population-based algorithms on fifteen functions except for only F2 with D = 20, on which θ-MAFOA achieves the best performance. Therefore, the proposed QFOA models have absolute superiority in dealing with complex continue optimization problems.

Moreover, to further study the performance of proposed QFOA models comparatively, the performance of all tested algorithms in dealing with benchmark functions are ranked according to the numerous results in Tables 12. Table 3 records the rank of mean results of tested algorithms. It can be seen that QFOA-1 wins total eleven first places and QFOA-2 wins six first places and six second places. As to the mean-rank, two QFOA models are in the top two ahead of other tested algorithms. For the rank of minimum results listed in Table 4, QFOA-1 wins total twelve first places and QFOA-2 wins seven first places and seven second places. Two QFOA models are still in the top two much more ahead of other tested algorithms according to the mean-rank. In a word, the proposed QFOA models surpassed the standard FOA models, some improved FOA variants and population-based algorithms.

D F QFOA-1 QFOA-2 FOA-1 FOA-2 IFFO MFOA θ-MAFOA PSO DE ABC
10 F1 1 2 9 10 8 3 4 7 6 5
F2 1 2 6 7 8 3 4 5 9 10
F3 2 1 8 9 7 10 3 4 5 6
F4 1 1 1 1 1 1 1 1 1 1
F5 1 2 8 10 7 6 4 5 3 9
F6 1 2 9 10 7 3 4 5 6 8
F7 4 1 9 10 3 7 5 6 8 2
F8 1 6 3 10 4 7 2 8 9 5
20 F1 1 2 9 10 7 3 4 8 6 5
F2 3 4 5 6 8 2 1 7 10 9
F3 5 1 8 9 6 10 2 7 3 4
F4 1 1 8 10 1 1 1 9 1 1
F5 1 4 8 10 5 2 3 9 6 7
F6 1 2 8 10 6 3 4 7 5 9
F7 4 1 9 10 2 7 5 6 8 3
F8 1 6 7 9 4 3 2 10 8 5
Mean-rank 1.8 2.4 7.2 8.8 5.3 4.4 3.1 6.5 5.9 5.6

MFOA, multi-swarm fruit fly optimization algorithm; QFOA, quantum-behaved fruit fly optimization algorithm; FOA, fruit fly optimization algorithm; IFFO, improved fruit fly optimization; θ-MAFOA, angle-encoded fruit fly optimization algorithm with mutation adaptation mechanism; PSO, particle swarm optimization; DE, differential evolution; ABC, artificial bee colony.

Table 3

Rank of the mean optimization results.

D F QFOA-1 QFOA-2 FOA-1 FOA-2 IFFO MFOA θ-MAFOA PSO DE ABC
10 F1 1 2 9 10 8 3 5 4 7 6
F2 1 2 7 6 8 3 4 5 9 10
F3 1 1 8 9 7 10 4 3 6 5
F4 1 1 1 1 1 1 1 1 1 1
F5 4 1 10 9 3 5 8 7 6 2
F6 1 2 9 10 8 3 5 4 7 6
F7 1 1 9 10 4 7 5 6 8 3
F8 1 5 6 10 4 7 2 9 8 3
20 F1 1 2 9 10 7 3 4 8 6 5
F2 2 4 5 6 8 3 1 7 10 9
F3 1 2 8 9 6 10 3 7 4 5
F4 1 1 1 1 1 1 1 1 1 1
F5 5 1 9 10 3 4 6 8 7 2
F6 1 2 9 10 6 3 4 8 5 7
F7 4 1 9 10 3 7 5 6 8 2
F8 1 2 7 10 6 4 3 9 8 5
Mean-rank 1.7 1.9 7.3 8.2 5.2 4.6 3.8 5.8 6.3 4.5

MFOA, multi-swarm fruit fly optimization algorithm; QFOA, quantum-behaved fruit fly optimization algorithm; FOA, fruit fly optimization algorithm; IFFO, improved fruit fly optimization; θ-MAFOA, angle-encoded fruit fly optimization algorithm with mutation adaptation mechanism; PSO, particle swarm optimization; DE, differential evolution; ABC, artificial bee colony.

Table 4

Rank of the minimum optimization results.

In addition, the convergence curves of the ten tested algorithms on the eight benchmark functions are shown in Figure 1(a)-(h) for the dimension D = 10 and in Figure 2(a)-(h) for the dimension D = 20, respectively, where convergence curves show the mean best function values of 50 trials per iteration. Through comparing these convergence curves, it is easy to find that the QFOA models have the better convergence performance than other tested algorithms on most benchmark functions. QFOA-1 can converge much more rapidly during the early stage of the search process and then achieve the optimum so quickly. This characteristic is very remarkable on F1-F2, F4-F6 and F8 with D = 10 as well as F1, F4-F6 and F8 with D = 20. On the contrary, QFOA-2 often shows its powerful search capability and accelerates convergence to the optimum during the later stage of the search process. Especially, QFOA-2 converges to the optimum on F3, F4, F7 with D = 10 and 20, and converges to the sub-optimum on F1-F2 and F5-F6 with D = 10 as well as F1 and F6 with D = 20. The proposed QFOA models can not only find higher quality solutions but also possess faster convergence speed on benchmark functions.

Analyzing the experiment results, it is clear that, the proposed QFOA models perform significantly better than the standard FOA models, and meanwhile, are superior to or at least competitive with existing improved FOA variants as well as some population-based algorithms. Above all, the proposed QFOA models have faster convergence speed and stronger search capability, which could avoid most of the local optimum and significantly improve the shortcomings of the premature convergence and slow convergent speed during the later evolution process on the continuous function optimization problems.

5. QFOA MODELS FOR UAV PATH PLANNING

5.1. Model of Objective Function of UAV Path

The core work of path planning is to set up an effective objective or cost function which acts as the criterion to evaluate whether a path or a location of fruit fly is good or not [16]. The path planning problem is modeled as an optimization problem that minimizes the objective function. Assume the full UAV path is represented by a collection of discrete waypoints {p0, p1, …, pN, pN+1}, where the coordinate of the waypoint pk is (xpk, ypk, zpk), k = 0, …, N+1. The objective function of the UAV path can be defined as [31]

minJ=i=15fi (27)
where fi, i = 1,…,5, is the costs of flight length, safety, altitude, turning angle, climbing and gliding slope, and terrain constraint.

The length cost f1 is defined as the sum of all path segment lengths from the first to last points:

f1=k=0Nlkwithlk=xpi+1xpi2+ypi+1ypi2+zpi+1zpi2 (28)

Figure 1

Comparison of convergence curves on benchmark functions with D = 10.

Figure 2.

Comparison of convergence curves on benchmark functions with D = 20.

The threat cost f2 penalizes the paths that fly dangerously close to threat sites, which depends on the length and the threat probability of each path segment as follows:

f2=k=0Nlkj=1nTPj,kwithPj,k=0dj,k>Rmax,jRmax,j4dj,k4+Rmax,j4dj,kRmax,j (29)
where Pj,k is the threat probability of the path segment pkpk+1 suffering from the j-th threat, Rmax,j denotes the maximum threaten range of the j-th threat, and dj,k is the distance between pkpk+1 and the j-th threat center.

The altitude cost f3 is introduced to make the UAV fly at the low altitude, so that the UAV can benefit from the terrain mask effect. Meanwhile, f3 can penalize the nonfeasible paths that pass through the terrain, as follows:

f3=k=1Nfk3withfk3=C,if zpk<Hmapxpk,ypk+Hsafezpk,otherwise(30)
where C is the penalty factor, Hmap(xpk, ypk) is the ground level at the point (xpk, ypk), and Hsafe is the minimal safe flight height.

The lateral maneuvering cost f4 is the sum of those points that do not satisfy the turning constraint as follows:

f4=k=1Nfk4withfk4=0,if ϕkϕkmaxC,otherwise (31)
where φk denotes the turning angle at the waypoint pk, and C is the penalty factor. The UAV maneuverability is constrained by the maximum turning angle φkmax as follows:
ϕkmax=nmaxgV2xpk+1xpk2+ypk+1ypk2(32)
where g is the gravitational acceleration, nmax is the maximum lateral overload and V is the flight velocity.

The vertical maneuvering cost f5 is the sum of those points that do not satisfy the slope constraint as follows:

f5=k=1Nfk5withfk5=0,if βkskαkC,otherwise (33)
where sk is the UAV slope at the waypoint pk, αk is the maximum climbing slope and βk is the minimum gliding slope, which are calculated as follows [4,16]:
αk=1.5377×1010zpk22.6997×105zpk+0.4211βk=2.5063×109zpk26.3014×106zpk0.3257sk=zpk+1zpkxpk+1xpk2+ypk+1ypk2 (34)

5.2. Path Representation in 3D Environment

The full UAV path is represented by a collection of N discrete waypoints except the given start and target points. Considering each waypoint pk, k = 1, …, N, are determined by three coordinates (xpk, ypk, zpk), the total dimension of the decision variable in a UAV path is 3N. In order to reduce the problem dimension and meanwhile to obtain the smooth path, the B-Spline-based path representation strategy is adopted in this paper to determine these waypoints and then represent the desired UAV path.

Given n+1 control points with the coordinates (x0, y0, z0), …, (xn, yn, zn), the B-Spline curve can be constructed by [31]

Xt=i=0nxiBi,KtYt=i=0nyiBi,KtZt=i=0nziBi,Kt (35)
where Bi,K(t) is defined recursively as follows:
Bi,1t=1,ifKnotit<Knoti+11,if KnotitKnoti+1 and t=nK+20,otherwise (36)
Bi,Kt=tKnottBi,KtKnoti+K1Knoti+Knoti+KtBi+1,K1tKnoti+KKnoti+1(37)
with
Knoti=0,if i<KKnoti=iK+1,if KinKnoti=nK+2,if n<i
where the order K is used to control the curve smoothness. The parameter t varies from 0 to nK+2 with a constant step, providing the discrete points of the B-Spline curve.

Using the B-Spline-based path representation, if the UAV path is represented by the collection of discrete waypoints {p0, p1, …, pN, pN+1} with the coordinates (xpk, ypk, zpk), k = 1, …, N, for each waypoint, then the corresponding control point collection is {w0, w1, …, wn, wn+1} with the coordinates (xci, yci, zci), i = 1, …, n. Both the first waypoint p0and the first control point w0 are the given start point, while both the last waypoint pN+1 and the last control point wn+1are the given target point. The task of the path planner is to generate n control points, and thus, these control points can achieve the B-Spline curve-based path together with the given start and target points.

5.3. Path Planning Using QFOA

In order to obtain the optimal UAV flight path, the B-Spline curve-based path connecting the given start and target points should have the minimum value of cost function. Using the proposed QFOA models to design the UAV path planner, the coordinates of the control points are treated as the food source of fruit fly swarm. The number of control points is n, and then, D = 3n parameters {x1, x2, …, xD} should be determined by the path planner, where (xi, xn+i, x2n+i), i = 1,2,…,n, denotes the 3D coordinates of the i-th control point wi. That is to say, (xci, yci, zci) = (xi, xn+i, x2n+i). These coordinates take values within the limits of the constrained physics 3D space of the mission map. Each candidate path obtained by path planner is evaluated according to the cost function described in (28), which is employed as the smell concentration judgment function for fruit flies. Suppose that the mission space of the UAV flight path is limited in [0,Lmax]×[0,Wmax], and the maximum flight altitude is Hmax. The following section will show how to apply QFOA models to the path planning problem:

  1. Procedure of path planning using QFOA-1

At the t-th iteration of QFOA-1, locations of the i-th fruit fly is represented by (Xi,1,Xi,2,…,Xi,D) and (Yi,1,Yi,2,…,Yi,D), and the judged value of smell concentration (Si,1,Si,2,…,Si,D) corresponds to the control point coordinates (xc1,…,xcn, yc1,…,ycn, zc1,…,zcn). The detailed implemented procedure of QFOA-1 applied to UAV path planning is described in Algorithm 5.

  1. Procedure of path planning using QFOA-2

For the i-th fruit fly at the t-th iteration in the QFOA-2, both the location and the judged value of smell concentration are represented by (xi,1,xi,2,…,xi,D), which are treated as the decision variable of the optimization problem. Therefore, for the QFOA-2-based path planning problem, the location of the fruit fly (xi,1,xi,2,…,xi,D) corresponds to the control point coordinates (xc1,…,xcn, yc1,…,ycn, zc1,…,zcn), and thus can be decoded into a candidate UAV path using the B-Spline curve. The implemented procedure of QFOA-2 applied to UAV path planning is described in Algorithm 6.

Algorithm 5: Procedure of path planning using QFOA-1

 /* Mission */

1. Mission information: start and target points (xS,yS)T, (xT,yT)T,

         UAV performance parameters,

         the number of the control points n..

2. Threat information: threat centres (xthreat j, ythreat j)T,

         threat radius Rj.

3. Map information: the mission map range Lmax,Wmax, Hmax.

 /* Initialization */

4. Set the generation counter g = 0.

5. Generation counter g = g + 1;

6. Randomly initialize the fruit fly swarm’s location as [Xaxis, Yaxis] and ensure the judged value of smell concentration S is within the search range [0, 1] D.

  /* Iterative search */

7.while termination criteria is not satisfied do

8.  Generation counter g = g + 1.

9.  Calculate the parameter b = b1 logsig(10 (0.5 −g/Gmax)) + b2.

  /* Quantum-behaved search using osphresis */

10.for i = 1: Mospdo

11.for j = 1: Ddo

12.  Calculate the characteristic length:

     Lx,i,j = 2b|XaxisXi,j|, Ly,i,j = 2b|YaxisYi,j|.

13.  while 1 do

14.   Generate the random direction and distance as follows:

15.   if random > 0.5 then

16.    Xi,j = Xaxis,j+ 0.5 Lx,i,j ln(1/rx);

17.   else

18.    Xi,j = Xaxis,j− 0.5 Lx,i,j ln(1/rx).

19.   if random > 0.5 then

20.    Yi,j = Yaxis,j + 0.5 Ly,i,j ln(1/ry)

21.   else

22.    Yi,j = Yaxis,j − 0.5 Ly,i,j ln(1/ry).

23.   Calculate the judged value of smell concentration:

     Si,j=1/Xi,j2+Yi,j2.

24.   if Si, j≤ 1 then

25.    break.

26.  end while

27.end for

     /* Evaluation */

28.  Set (xc0, yc0, zc0)T as the coordinates of the start point.

29.for j = 1: ndo

30.   xcj= Si,j× Lmax

31.   ycj= Si,n+j× Wmax

32.   zcj= Si,2n+j× Hmax

33.end for

34.  Set (xcn+1, ycn+1, zcn+1)T as the coordinates of the target point.

35.  Generate the B-Spline curve using the control points (xc0, yc0, zc0)T, …, (xcn+1, ycn+1, zcn+1)T.

36.  Evaluate smell concentrations (the cost value) according to (27):

  Smelli = J(Pathi), Pathi= [(xc0,yc0,zc0)T,…,(xcn+1,ycn+1, zcn+1)T].

37.end for

    /* Search using vision */

38.  Select the fruit fly that has the best smell concentration:

  index = arg max(Smelli).

39.if [Xindex, Yindex] has the better smell than [Xaxis, Yaxis], then

40.  Xaxis = Xindex and Yaxis = Yindex.

41. end while

   /*Output*/

42. Decode and output the best path for UAV.

Algorithm 6: Procedure of path planning using QFOA-2

1. Mission information: start and target points (xS,yS)T, (xT,yT)T,

          UAV performance parameters,

          the number of the control points n.

2. Threat information: threat centres (xthreatj,ythreatj)T,

         threat radius Rj.

3. Map information: the mission map range Lmax,Wmax, Hmax.

 /* Initialization */

4. Set the generation counter g = 0.

5. Set the number of fruit flies as Mosp as well as parameters b1, b2.

6. Randomly initialize xaxis = [xaxis,1, xaxis,2, …, xaxis,D] with [0, 1] D.

 /* Iterative search */

7. while termination criteria is not satisfied do

8.   Generation counter g = g + 1.

9.   Calculate the parameter b = b1 logsig(10 (0.5 −g/Gmax)) + b2.

   /* Quantum-behaved search using osphresis */

10.for i = 1: Mospdo

11.   for j = 1: D do

12.    Calculate the characteristic length:

      Lij= 2b|Xaxis,jXij|.

13.    while 1 do

14.     Generate the random direction and distance as follows:

15.     if random > 0.5 then

16.      Xi,j = Xaxis,j+0.5 Li,jln(1/rx);

17.     else

18.      Xi,j = Xaxis,j–0.5 Li,jln(1/rx).

19.     if random > 0.5 then

20.      break

21.    end while

22.   end for

      /* Evaluation */

23.   Set (xc0, yc0, zc0)T as the coordinates of the start point.

24.   for j = 1: ndo

25.     xcj = xi,j× Lmax

26.     ycj = xi,n+j× Wmax

27.     zcj = xi,2n+j× Hmax

28.   end for

29.   Set (xcn+1, ycn+1, zcn+1)T as the coordinates of the target point.

30.   Generate the B-Spline curve using the control point set (xc0, yc0, zc0)T, …, (xcn+1, ycn+1, zcn+1)T.

31.   Evaluate smell concentrations (the cost value) according to (27):

Smelli= J(Pathi), Pathi= [(xc0,yc0,zc0)T,…, (xcn+1,ycn+1,zcn+1)T].

32.end for

   /* Search using vision */

33. Select the fruit fly that has the best smell concentration:

  index = arg max(Smelli).

34.if [Xindex, Yindex] has the better smell than [Xaxis, Yaxis], then

35.    Xaxis = Xindex and Yaxis = Yindex.

36. end while

   /*Output*/

37. Decode and output the best path for UAV.

Figure 3

Results comparison on the 1st test scenario, including (a) best paths, (b) flight height of the best paths along the path length, (c) average convergence curves, and (d) cumulative frequency graphs of the cost values.

Figure 4

Results comparison on the 2nd test scenario, including (a) best paths, (b) flight height of the best paths along the path length, (c) average convergence curves, and (d) cumulative frequency graphs of the cost values.

6. EXPERIMENT RESULTS

To evaluate our designed QFOA-based path planners, several comparison simulations are carried out. We mainly concern the performance of the proposed QFOA algorithms versus the original standard FOA models, and thus, the QFOA-1, QFOA-2, FOA-1, and FOA-2 are tested under two scenarios in this section. All the tested algorithms are coded using Matlab-2009a on a personal computer. Due to the randomness nature of swarm intelligence algorithms, every tested algorithm is run 50 times independently for each scenario and the statistical results are used for evaluation and comparison. The mission map is a rectangular region with known terrain and threat environments. The number of the B-Spline control points is set as n = 4, which means the dimension of the problem is D = 3n = 12. Other parameters of the UAV are set as the maximum lateral overload nmax= 5, the minimum safety flight altitude Hsafe= 50 m, and the flight velocity V = 200 m/s. To make a fair comparison, the same maximum iteration number is used for all algorithms as the stopping criterion, while the population size is set as Mosp= 40 for all algorithms.

Figures 3 and 4 show the simulation results obtained by QFOA-1, QFOA-2, FOA-1, and FOA-2 on two different scenarios during 50 independent runs. The best UAV paths obtained by the four algorithms on two different scenarios are projected on the xoy contour plane as shown in Figures 3(a) and 4(a), respectively. In the maps, the circle dot “” in the lower-left corner is the start point, the square dot “” in the upper-right corner is the target point, and the gray round areas represent the threat regions. As is shown, all algorithms succeed in finding the safe path that completely avoids all the threat regions. The change curves of the flight altitude of the best UAV paths along the length for the tested algorithms are displayed in Figures 3(b) and 4(b). Values of the five cost of the obtained best UAV paths for the 1st and 2nd scenarios are compared in Tables 5 and 6. It can be seen that all tested algorithms can achieve the feasible paths that satisfy all threat and altitude constraints, while QFOA-1 and QFOA-2 generates the shorter and lower paths than the original FOA algorithms. The proposed QFOA-based path planner can generate the UAV path with the threat-avoidance and terrain-following characteristics, and thus, increases both the survivability of the aircraft and the effectiveness of mission. Comparing QFOA-1 and QFOA-2, it can be seen that the cost criteria of the best UAV path obtained by QFOA-2 are smaller than those by QFOA-1, which indicates the powerful searching ability of QFOA-2.

Algorithm f1 f2 f3 f4 f5
QFOA-1 114.98 0 79.24 0 0
QFOA-2 117.15 0 66.25 0 0
FOA-1 118.89 0 132.28 0 0
FOA-2 158.45 0 152.12 0 0

UAV, unmanned aerial vehicle; QFOA, quantum-behaved fruit fly optimization algorithm; FOA, fruit fly optimization algorithm.

Table 5

Cost values of the best UAV paths obtained by various algorithms on the 1st scenario.

Algorithm f1 f2 f3 f4 f5
QFOA-1 119.68 0 177.04 0 0
QFOA-2 106.56 0 156.19 0 0
FOA-1 122.41 0 214.62 0 0
FOA-2 121.82 0 264.83 0 0

UAV, unmanned aerial vehicle; QFOA, quantum-behaved fruit fly optimization algorithm; FOA, fruit fly optimization algorithm.

Table 6

Cost values of the best UAV paths obtained by various algorithms on the 2nd scenario.

The statistical results of four tested algorithms during 50 runs on two test scenarios are listed in Tables 7 and 8, where the best, median, mean, worst, and standard deviation of the cost value are recorded. The best values of each column are highlighted using boldface. The search ability and stability of a swarm intelligence algorithm can be reflected by the mean cost value and the standard deviation, respectively. Compared these statistical results, it is observed that QFOA-2 obtains the minimum best, mean, median, and worst cost, which indicates QFOA-2 has the most powerful optimization ability in the statistical sense. QFOA-1 also can obtain the smaller value of all statistical results than the original standard FOA models. The convergence curves of the average best cost values are displayed in Figures 3(c) and 4(c). It can be seen that, QFOA models achieve the faster convergence speed and the smaller cost than FOA models. The global convergence performance can be sorted as QFOA-2 > QFOA-1 > FOA-1 > FOA-2.

Algorithm Best Median Mean Worst Std.
QFOA-1 194.22 236.36 259.84 418.38 63.70
QFOA-2 183.40 215.79 244.64 429.97 69.14
FOA-1 251.17 297.32 351.73 682.51 117.44
FOA-2 310.57 407.73 423.55 652.89 65.31

QFOA, quantum-behaved fruit fly optimization algorithm; FOA, fruit fly optimization algorithm.

Table 7

Performance comparison on the 1st test scenario.

Algorithm Best Median Mean Worst Std.
QFOA-1 296.72 360.20 328.21 437.77 46.92
QFOA-2 262.75 323.90 325.51 319.19 35.57
FOA-1 337.03 407.66 408.49 564.44 40.28
FOA-2 386.65 572.48 574.79 689.98 55.86

QFOA, quantum-behaved fruit fly optimization algorithm; FOA, fruit fly optimization algorithm.

Table 8

Performance comparison on the 2nd test scenario.

Furthermore, in order to study the distribution of the solutions, the cumulative frequency graphs of the minimum cost values during independent runs are listed in Figures 3(d) and 4(d), where the horizontal axis denotes the cost value and vertical axis denotes the cumulative frequency. Define the cumulative frequency as follows:

Pcumx=N(Jminx)50×100% (38)
where N(Jmin< x) is the number of runs that obtain the cost value smaller than x. The result figures clearly show that both QFOA models perform better than original standard FOA. For example, on the 1st test scenario, all cost values obtained by QFOA are distributed in the interval smaller than 450, while only about 70% of FOA-1 trials and 80% of FOA-2 trials can achieve the same performance. As to the 2nd test scenario, 100% of cost values obtained by QFOA-2 are smaller than 350, while 100% of QFOA-1 trials, about 95% of FOA-1 trials and only 5% of FOA-2 trials achieve cost values less than 450. These experimental results demonstrate that QFOAs maintain the higher performance than the original standard FOA models in solving the UAV path planning problem, and meanwhile, QFOA-2 shows the better performance than QFOA-1. Above all, the proposed QFOA models have the advantage over the original standard FOAs in terms of searching ability, stability, and robustness.

7. CONCLUSIONS

This paper introduces the quantum theory into FOA model and replaces the osphresis-based search of FOA as the quantum behavior-based searching mechanism, and thus, proposed the QFOA variant. In QFOA models, the Delta potential well is established around the fruit fly swarm location and fruit flies find and move toward the food source following the rules of wave function. Several comparative studies are conducted based on benchmark functions. Results show the proposed QFOA models are superior to the original standard FOA models and other improved FOA variants, as well as several state-of-the-art population-based algorithms, such as DE, PSO, and ABC. The proposed QFOA show the powerful searching abilities, robustness, and global convergence in solving continuous optimization problems.

In addition, the proposed QFOA models are also successfully applied to solve UAV path planning problem and the QFOA-based path planner are designed. The detailed implemented procedures of the path planning are given. Simulation results on two scenarios show that the proposed QFOA can solve this complex optimization problem and achieve much better performance in terms of searching ability, stability, and robustness than the original standard FOA models, which further indicates that the proposed QFOA is the powerful optimization technique.

It is the first work that take advantage of quantum theory to enhance the original FOA. Another contribution of this paper is that the improvement strategy is simultaneously employed to two standard FOA models. In the future work, we will further investigate the performance of the QFOA models and apply the them to the multi-objective optimization problems.

ACKNOWLEDGMENTS

This work is supported by National Natural Science Foundation of China (No. 61703012), Beijing Natural Science Foundation (No. 4182010).

REFERENCES

28.J. Sun, B. Feng, and W. Xu, Particle swam optimization with particles having quantum behavior, in Proceedings of IEEE conference on cybernetics and intelligent systems, 2004, pp. 111-116.
31.E. Besada-Portas, L. de la Torre, A. Moreno, and J. L. Risco-Martín, On the performance comparison of multi-objective evolutionary UAV path planners, Inf. Sci., Vol. 238, 2013, pp. 111-125.
Journal
International Journal of Computational Intelligence Systems
Volume-Issue
13 - 1
Pages
1315 - 1331
Publication Date
2020/09/07
ISSN (Online)
1875-6883
ISSN (Print)
1875-6891
DOI
10.2991/ijcis.d.200825.001How to use a DOI?
Copyright
© 2020 The Authors. Published by Atlantis Press B.V.
Open Access
This is an open access article distributed under the CC BY-NC 4.0 license (http://creativecommons.org/licenses/by-nc/4.0/).

Cite this article

TY  - JOUR
AU  - Xiangyin Zhang
AU  - Shuang Xia
AU  - Xiuzhi Li
PY  - 2020
DA  - 2020/09/07
TI  - Quantum Behavior-Based Enhanced Fruit Fly Optimization Algorithm with Application to UAV Path Planning
JO  - International Journal of Computational Intelligence Systems
SP  - 1315
EP  - 1331
VL  - 13
IS  - 1
SN  - 1875-6883
UR  - https://doi.org/10.2991/ijcis.d.200825.001
DO  - 10.2991/ijcis.d.200825.001
ID  - Zhang2020
ER  -