An Improved Whale Optimization Algorithm Based on Different Searching Paths and Perceptual Disturbance

: Whale optimization algorithm (WOA) is a swarm intelligence optimization algorithm inspired by humpback whale hunting behavior. WOA has many similarities with other swarm intelligence algorithms (PSO, GWO, etc.). WOA’s unique search mechanism enables it to have a strong global search capability while taking into account the strong global search capabilities. In this work, considering the the deﬁciency of WOA in local search mechanism, combined with the optimization methods of other group intelligent algorithms, perceptual perturbation mechanism is introduced, which makes the agent perform more detailed searches near the local extreme point. At the same time, since the WOA uses a logarithmic spiral curve, the agent cannot fully search all the spaces within its search range, even though the introduction of the perturbation mechanism may still lead to the algorithm falling into a local optimum. Therefore, the equal pitch Archimedes spiral curve is chosen to replace the classic logarithmic spiral curve. In order to fully verify the effect of the search path on the performance of the algorithm, several other spiral curves have been chosen for experimental comparison. By utilizing the 23 benchmark test functions, the simulation results show that WOA (PDWOA) with perceptual perturbation signiﬁcantly outperforms the standard WOA. Then, based on the PDWOA, the effect of the search path on the performance of the algorithm has been veriﬁed. The simulation results show that the equal pitch of the Archimedean spiral curve is best.


Introduction
Problems with optimization must find the most optimal solution of the objective function by iteration. Generally, the search target-which can be described by coutinuous, descrete, linear, unlinear, convace, and convex functions-is a function that belongs to optimal objective functions. In order to solve the problem of function optimization, a heuristic algorithm inspired by natural processes and/or events has raised concerns. Swarm intelligence optimization algorithms that simulate biological population evolution is a random search algorithm. It can solve complex global optimization problems through cooperation and competition among individuals. Swarm intelligence optimization algorithm include the ant colony optimization (ACO) algorithm [1][2][3], genetic algorithm (GA) [4,5], particle swarm optimization (PSO) algorithm [6][7][8], artificial bee colony (ABC) algorithm [9], grey wolf algorithm (GWO) [10], harmony search (HS) Algorithm [11,12], etc.
The whale optimization algorithm (WOA) is a biological heuristic algorithm presented by Seyedali Mirjalili and Andrew Lewis in 2016. WOA is a swarm intelligence optimization algorithm inspired by the unique humpback hunting method. Because of unique optimization mechanism, WOA has a good global search capability. Therefore, the new algorithm has been widely proposed by the engineering community. As a new type of bionic algorithm with better global search performance, many scholars are interested in it and apply it to a variety of engineering problems. It has been widely used in the optimization of neural network parameters, allocation, and scheduling. On the allocation and scheduling, the literatures [13][14][15][16] use WOA to optimize energy management system (EMS) of the Combined Economic Emission Dispatch (CEED) problem for microgrid systems, and MATLAB software is used to compared it with GM, ACO, PSO and WOA; the results show that WOA can obtain better results with fewer iterations. The literature [17] applies WOA to the Unit Commitment Problem of power generation operation scheduling, the experimental results show that the convergence speed of WOA is obviously faster than PSO, GA, etc. In order to reduce the wire loss of distribution network, the literature [18] uses WOA to optimize the distribution scheme of the capacitors in the grid. The simulation results show that WOA is more effective in reducing operating costs and maintaining better voltage distribution. Similarly, the literature [19] uses the WOA to the water resources scheduling problem. The research results show that WOA has a faster convergence speed.
In terms of parameter optimization, the literature [20] uses WOA to optimize two parameters of a least-squares support vector machine to establish a WOA-LSSVM (WOA-least-squares support vector machine) model to predict carbon dioxide emissions. Similarly, chaos WOA algorithm (CWOA) is proposed to optimize the parameters of Elman neural network in the literature [21], so as to establish a soft measurement model and predict variables. The literature [22] compares WOA with other methods for optimizing neural network parameters quantitatively and qualitatively. Simulation results show that the proposed trainer can outperform current algorithms on most data sets in terms of local optimal avoidance and convergence speed. The literature [23] uses WOA to optimize the parameters of the multilayer perception model, and it uses five standard data sets to verify the validity of the modified model. We compared it with GWO and PSO, and found a high convergence and classification rate of WOA, and it is possible to avoid local minimums.
In terms of variable prediction, the literature [24] proposes a multi-objective whale optimization algorithm (MOWOA) model to predict the wind speed in the power system and thus provide a reference for power dispatching. The literature [25] combines the reverse adaptive whale optimization algorithm (AWOA) and the fast learning network (FLN) to propose an integrated modeling method (AWOA-FLN) and establishes a 600-MW prediction model for supercritical steam turbine group heat rate. Simulation results show that the AWOA-FLN model has stronger prediction accuracy and stronger generalization ability than the improved PSO algorithm and differential evolution algorithm, and it can more accurate predict the heat rate of the turbine. In image processing, in order to find the best image segmentation threshold, the literature [26] combines WOA and moth-flame optimization to avoid the problem of determining the optimal threshold spend too much time in the case of multilevel thresholds. The simulation results show that the proposed algorithm has better performance than other swarm intelligence algorithms. The literature [27] propose a MRI image liver segmentation method based on the whale optimization algorithm (WOA). The proposed method uses a set of 70 magnetic resonance images (MRI) images for testing. The experimental results show that the method has a high accuracy overall. In addition, considering WOA optimization and other applications, the literature [28] introduces the nondominated sorting algorithm to obtain the optimal solution of WOA, named the nondominated sorting WOA (NSWOA). The simulation results show that the method is much better than multiobjective collision-body optimizer (MOCBO), multi-objective particle swarm optimizer (MOPSO), nondominated sorting genetic algorithm II (NSGA-II) and the multiobjective symbiotic organism search (MOSOS). The literature [29] proposed a chaos WOA (CWOA) algorithm to calculate and automatically adjust the internal parameters of the optimization algorithm through chaotic mapping. This idea is essentially different from the literature [21]. The experimental results show Symmetry 2018, 10, 210 3 of 31 that CWOA can effectively optimize the parameters of photovoltaic cells and their components. The literature [30] proposes a WOA-based feature selection approach, which is applied to find the largest subset of features so that it maximizes classification accuracy while retaining the minimum number of features.
The essence of a group intelligence algorithm is to find the global optimal value as much as possible with the help of various mechanisms. The improvement ideas proposed by many scholars are as far as possible to complete the search mechanism of group intelligent algorithm, so that the search agent traverses the entire search space as much as possible.
In this paper, we analyze the search mechanism of the WOA algorithm and find that its search mechanism has defects. However, this kind of defect cannot be solved by adjusting the moving step length. The original WOA uses a logarithmic spiral curve as the search path of the agent. However, the screw pitch of the logarithmic spiral curve is not fixed. Because the screw pitch causes a large amount of agent movements in the early stage, some areas cannot be searched. As a result, the global optimum is ignored. For this problem, this paper proposes a WOA with perceptual perturbation [31][32][33] so that the agent can perturb near the local extreme points to obtain better optimal values as much as possible. The closest to the idea of this paper is the literature [34]. In order to improve the PSO's local search ability, literature [34] defines and analyzes the regions with the most particles. At the same time, presented a PSO algorithm with intermediate disturbance searching strategy (IDPSO), which enhances the global search ability of particles and increases their convergence rates. Introducing the perturbation mechanism into the group intelligent algorithm can effectively improve the performance of the algorithm. The difference between this article and other methods is that the step length is set to make the search agent's moving step smaller and smaller, so that the agent can search more and more carefully. The definition of the minimum step size makes it impossible for the agent's step size to be smaller and smaller, thus ensuring the algorithm's convergence speed and ability to jump out of the local extreme point. At the same time, for the defects of the search mechanism, this paper uses the remaining seven spiral curves instead of the original logarithmic spiral curve to obtain an optimal search path. Finally, we select 23 benchmark test functions to verify the effectiveness of perceived perturbation and remaining spiral curves.
The structure of this paper is as follows: we have an introduction in the first section. The second section introduces the WOA optimization algorithm and analyzes the defects of the algorithm. The third section introduces the idea and method of improving WOA. The fourth section is a simulation, and a summary in the fifth section.

Inspiration
The whale optimization algorithm (WOA) is inspired by the unique hunting method of the humpback whale, which is called the bubble-net predation method [35][36][37][38][39]. The humpback whale can perceive the distance between him and the prey and surround the prey. It is observed that the humpback whale can move up with a spiral path in about 15 m deep, and spit out a number of different sizes of bubbles. The last spit out bubble and the first spit out bubble rose to the surface at the same time so as to form a cylindrical or tubular bubble network. It likes a huge spider knotted web to surround the prey tightly, and makes the prey toward the center of the net. So the humpback whales almost upright open mouth in the bubble circle and swallow the prey in the net. According to the above descriptions, the hunting behavior of the humpback whale can be divided into three steps: encircling prey, spiral bubble-net feeding maneuver and searching for prey.

Search for Prey (Exploration Phase)
In order to establish the mathematical model of the humpback whale searching path, each humpback whale is set as a search agent. At the same time, the algorithm is divided into Symmetry 2018, 10, 210 4 of 31 three steps: the search for prey, encircling prey and spiral bubble-net attacking method (exploitation phase). Then these three kinds of behavioral mathematical model are established. And the mathematical model is established for these three behaviors. In the modeling of the spiral bubble-net attacking method, two methods are proposed, which are the shrinking encircling mechanism and the spiral updating position method. Among them, the searching for prey can be regarded as the exploration stage, whose main purpose is to find a better solution. The bubble-net attacking method can also be called the exploitation phase, whose main purpose is to use this better solution more fully.
In the exploration phase (searching for prey), in order to make the search more extensive, the search agents are pushed away from each other by the positive and negative of a random vector → A. At the same time, the position of the search agent is replaced by a randomly selected search agent to replace the current optimal search agent. The mathematical model is described as follows: where, → X rand is a random location vector selected from the current population. Figure 1 shows a possible location of a solution when → A > 1. When → A > 1, the search agent selects a random agent, and when → A < 1, the search agent is selected as the current best agent to replace the location of the search agent.
Symmetry 2018, 10, x FOR PEER REVIEW 4 of 31 whose main purpose is to find a better solution. The bubble-net attacking method can also be called the exploitation phase, whose main purpose is to use this better solution more fully.
In the exploration phase (searching for prey), in order to make the search more extensive, the search agents are pushed away from each other by the positive and negative of a random vector A  . At the same time, the position of the search agent is replaced by a randomly selected search agent to replace the current optimal search agent. The mathematical model is described as follows: where, rand X  is a random location vector selected from the current population. Figure 1 shows a possible location of a solution when 1 A  . When 1 A   , the search agent selects a random agent, and when 1 A   , the search agent is selected as the current best agent to replace the location of the search agent.

Encircling Prey
At the initial stage, the optimal location in the search space is unknown when the prey is surrounded. In this algorithm, the best candidate is regarded as the target prey or the best target. After that, the best search agent will be defined, and other agents will try to update their location toward the best agent. The mathematical model of this behavior can be described as follows: where t is the current iteration number, A  and C  are the coefficient vector, * X is the known optimal location vector, X  is the location vector of other search agents. It is proposed that, in each iteration, if a better solution occurs, the * X will be replaced with a better one.
The calculated expressions of A  and C  are described follows:

Encircling Prey
At the initial stage, the optimal location in the search space is unknown when the prey is surrounded. In this algorithm, the best candidate is regarded as the target prey or the best target. After that, the best search agent will be defined, and other agents will try to update their location toward the best agent. The mathematical model of this behavior can be described as follows: where t is the current iteration number, → A and → C are the coefficient vector, X * is the known optimal location vector, → X is the location vector of other search agents. It is proposed that, in each iteration, if a better solution occurs, the X * will be replaced with a better one.
The calculated expressions of → A and → C are described follows: The a is linearly reduced in the interval (0, 2) in the iterative process (including the whole exploration and development phase), and the vector → r is a random vector in interval [0,1]. Figure 2 illustrates the theoretical basis of Equation (4) in two dimensional plane. The search agent (X, Y) can update its location based on the location of the current best agent (X * , Y * ). It can be seen from this point that if the choice of (X * , Y * ) is not good, it will be easy to make the algorithm fall into the local optimum. It can be seen from Figure 2 that anywhere near the best agent can be achieved by changing the value of the

Bubble-Net Attacking Method (Exploitation Phase)
The third stage is the bubble-net attacking method. In order to realize the model in this stage, two ideas are introduced.

Shrinking encircling mechanism
By reducing the value of a in Equation (5), the value of A  is limited in [-a, a]. When random values for A  are in the interval [−1,1], the new search agent can be defined any location between the initial position and the current search agent's best position. The theoretical illustration of the shrinking encircling mechanism is shown in Figure 3. It can be seen that any position between (X, Y) and ( * X , * Y ) in the two dimensional plane can be reached by adjusting the value of A between [0,1].

Spiral updating position method
The sketch map of spiral renewal position method is shown in Figure 4, which is the path of the search agent proposed by the original WOA. It calculates the distance between whale (X, Y) and ( * X , * Y ) prey. The equation imitating the humpback whales spiral moving mode is described as follows. where, represents the distance between the i th whale and the prey, b is used to

Bubble-Net Attacking Method (Exploitation Phase)
The third stage is the bubble-net attacking method. In order to realize the model in this stage, two ideas are introduced.

1.
Shrinking encircling mechanism By reducing the value of a in Equation ( A are in the interval [−1,1], the new search agent can be defined any location between the initial position and the current search agent's best position. The theoretical illustration of the shrinking encircling mechanism is shown in Figure 3. It can be seen that any position between (X, Y) and (X * , Y * ) in the two dimensional plane can be reached by adjusting the value of A between [0,1].

2.
Spiral updating position method The sketch map of spiral renewal position method is shown in Figure 4, which is the path of the search agent proposed by the original WOA. It calculates the distance between whale (X, Y) and (X * , Y * ) prey. The equation imitating the humpback whales spiral moving mode is described as follows. where, represents the distance between the ith whale and the prey, b is used to define the constant to limit the logarithmic spiral and l is a random number between the interval [−1,1].
Symmetry 2018, 10, x FOR PEER REVIEW 6 of 31  To be mentioned, the humpback whales swim around the prey in a gradual contraction of the circle and a spiral shape. In order to facilitate the establishment of the model, it is stipulated that each of the fifty percent of the whales may choose to surround the contraction path or spiral model to update their locations. The mathematical model is described as follows.
where, p is a random number between [0,1].

Idea of Improving Whale Optimization Algorithm
Through carrying out the research on the original WOA idea, two improvement ideas are put Symmetry 2018, 10, x FOR PEER REVIEW 6 of 31  To be mentioned, the humpback whales swim around the prey in a gradual contraction of the circle and a spiral shape. In order to facilitate the establishment of the model, it is stipulated that each of the fifty percent of the whales may choose to surround the contraction path or spiral model to update their locations. The mathematical model is described as follows.
where, p is a random number between [0,1].

Idea of Improving Whale Optimization Algorithm
Through carrying out the research on the original WOA idea, two improvement ideas are put To be mentioned, the humpback whales swim around the prey in a gradual contraction of the circle and a spiral shape. In order to facilitate the establishment of the model, it is stipulated that Symmetry 2018, 10, 210 7 of 31 each of the fifty percent of the whales may choose to surround the contraction path or spiral model to update their locations. The mathematical model is described as follows.
where, p is a random number between [0,1].

Idea of Improving Whale Optimization Algorithm
Through carrying out the research on the original WOA idea, two improvement ideas are put forward.
(1) It can be seen from the searching path of the whales in Figure 4 and Equation (7), the logarithmic spiral curve adopted as the searching path, but the pitch is not equal seen from the logarithmic helix curve. In other words, when the searching agent carries out the searching process according to the path, it can be seen from the two shaded sections in Figure 2 that any location around the best agent can be changed by changing the values of → A and → C. However, if the pitch of the spiral curve is larger than that of the search agent, it will lead to some locations can not be searched so as to reduce the ergodicity of the algorithm.
(2) In order to make the algorithm search thoroughly near the location of the search agents, after each iteration of the WOA, a set of more advantageous searched positions X * (t) are obtained. Then X * (t) will be no go directly into the next iteration, the disturbance is carried on it so as to searching the nearby scope of X * (t). The next iteration will generate a new best searching agent.

Selection of Mathematical Model of Searching Path
According to the logarithmic spiral model proposed by the original WOA, seven kinds of spirals are puts forward as the mathematical models of searching paths [40].

Logarithmic Spiral Curve (Lo)
Logarithmic spiral curve is also called equilateral spiral curve. The mathematical model of Logarithmic spiral searching path is described in Equation (9) and the two-dimensional image is show in Figure 5.
x = a · e l cos(2πl) y = a · e l sin(2πl) (9) Symmetry 2018, 10, x FOR PEER REVIEW 7 of 31 spiral curve is larger than that of the search agent, it will lead to some locations can not be searched so as to reduce the ergodicity of the algorithm.
(2) In order to make the algorithm search thoroughly near the location of the search agents, after each iteration of the WOA, a set of more advantageous searched positions * ( ) X t are obtained. Then * ( ) X t will be no go directly into the next iteration, the disturbance is carried on it so as to searching the nearby scope of * ( ) X t . The next iteration will generate a new best searching agent.

Selection of Mathematical Model of Searching Path
According to the logarithmic spiral model proposed by the original WOA, seven kinds of spirals are puts forward as the mathematical models of searching paths [40].

Logarithmic Spiral Curve (Lo)
Logarithmic spiral curve is also called equilateral spiral curve. The mathematical model of Logarithmic spiral searching path is described in Equation (9)  The Archimedes spiral curve is a trail generated by a point evenly moving away from a fixed point, while moving at a fixed angular velocity around the fixed point. The equal pitch Archimedes spiral means that the pitch of the spiral curve is a invariant constant shown in Figure 6. The mathematical model of Archimedes spiral searching path is described in Equation (10) and the two- The Archimedes spiral curve is a trail generated by a point evenly moving away from a fixed point, while moving at a fixed angular velocity around the fixed point. The equal pitch Archimedes spiral means that the pitch of the spiral curve is a invariant constant shown in Figure 6. The mathematical model of Archimedes spiral searching path is described in Equation (10) and the two-dimensional image is show in Figure 6.
Symmetry 2018, 10, x FOR PEER REVIEW 8 of 31 Figure 6. Two-dimensional curve of equal pitch Archimedes spiral.

Rose Spiral Curve (Ro)
Assuming a fixed length segment AB = 2a, the two endpoints of AB slide on two mutually perpendicular straight lines. Then a vertical line OM is made from the intersection O of two straight lines to the line AB. The trajectory of foot M is called the Rose spiral curve. The mathematical model of Rose spiral with four leaves searching path is described in Equation (11) and the two-dimensional image is show in Figure 7.
x a n l l y a n l l Because the path of the function is relatively simple, taking into account the existence of the disturbance, by adjusting the parameters of the function, the spacing between the search paths is as small as possible, and the optimal value may be obtained faster with as few iterations as possible. So we chose this spiral curve.

Epitrochoid-I (Ep-I)
A movable circle is carried out the roll around the externally-tangent of the fixed circle internally, where the radius of the fixed circle is a and the radius of the movable circle is b. In the process of As we put forward, the pitch of the spiral curve gradually changes to affect the convergence performance of the algorithm. Therefore, we first select the Archimedean spiral curve with a constant pitch. Since its pitch is equidistant, we use an algorithm to adjust the parameters of the function so that the algorithm achieves optimal performance.

Rose Spiral Curve (Ro)
Assuming a fixed length segment AB = 2a, the two endpoints of AB slide on two mutually perpendicular straight lines. Then a vertical line OM is made from the intersection O of two straight lines to the line AB. The trajectory of foot M is called the Rose spiral curve. The mathematical model of Rose spiral with four leaves searching path is described in Equation (11) and the two-dimensional image is show in Figure 7.

Rose Spiral Curve (Ro)
Assuming a fixed length segment AB = 2a, the two endpoints of AB slide on two mutually perpendicular straight lines. Then a vertical line OM is made from the intersection O of two straight lines to the line AB. The trajectory of foot M is called the Rose spiral curve. The mathematical model of Rose spiral with four leaves searching path is described in Equation (11) and the two-dimensional image is show in Figure 7.
x a n l l y a n l l Because the path of the function is relatively simple, taking into account the existence of the disturbance, by adjusting the parameters of the function, the spacing between the search paths is as small as possible, and the optimal value may be obtained faster with as few iterations as possible. So we chose this spiral curve. Because the path of the function is relatively simple, taking into account the existence of the disturbance, by adjusting the parameters of the function, the spacing between the search paths is as small as possible, and the optimal value may be obtained faster with as few iterations as possible. So we chose this spiral curve.

Epitrochoid-I (Ep-I)
A movable circle is carried out the roll around the externally-tangent of the fixed circle internally, where the radius of the fixed circle is a and the radius of the movable circle is b. In the process of the movable circle rolling, the trajectory is formed by a fixed point P on the movable circle, which is called the Epicycloid-I. The mathematical model of Epitrochoid-I searching path is described in Equation (12) and the two-dimensional image is show in Figure 8.

Hypotrochoid (Hy)
A fixed large circle internally tangent a movable small circle. In the process of small circle rolling, the trajectory is formed by a fixed point P on the small circle, which is called the Hypotrochoid.
The curve will change with the radius of the two circles. The mathematical model of Hypotrochoid searching path is described in Equation (13) and the two-dimensional image is show in Figure 9.  The formation principle of the Epicycloid-II and the Epicycloid-I is the same. Just the difference of the radius of the big circle and the small circle produces the different trend. The mathematical model of Epitrochoid-II searching path is described in Equation (14) and the two-dimensional image

Hypotrochoid (Hy)
A fixed large circle internally tangent a movable small circle. In the process of small circle rolling, the trajectory is formed by a fixed point P on the small circle, which is called the Hypotrochoid. The curve will change with the radius of the two circles. The mathematical model of Hypotrochoid searching path is described in Equation (13) and the two-dimensional image is show in Figure 9.

Hypotrochoid (Hy)
A fixed large circle internally tangent a movable small circle. In the process of small circle rolling, the trajectory is formed by a fixed point P on the small circle, which is called the Hypotrochoid.
The curve will change with the radius of the two circles. The mathematical model of Hypotrochoid searching path is described in Equation (13) and the two-dimensional image is show in Figure 9.  The formation principle of the Epicycloid-II and the Epicycloid-I is the same. Just the difference of the radius of the big circle and the small circle produces the different trend. The mathematical model of Epitrochoid-II searching path is described in Equation (14) and the two-dimensional image is show in Figure 10. The formation principle of the Epicycloid-II and the Epicycloid-I is the same. Just the difference of the radius of the big circle and the small circle produces the different trend. The mathematical model of Epitrochoid-II searching path is described in Equation (14) and the two-dimensional image is show in Figure 10.  Figure 10. Two-dimensional curve of Epicycloid-II.
The selection idea of the three spiral curves of EP-I, EP-II, and Hy is that when multiple agents are searching at the current optimal position, the agent performs a full search around the current optimal position according to its search path.

Fermat Spiral Curve (Fe)
The Fermat spiral curve is a kind of equiangular spiral curve. It is obtained by tire up the starting points of the two logarithmic spiral curves, whose rotation direction is opposite. The mathematical model of Fermat spiral searching path is described in Equation (15) and the two-dimensional image is show in Figure 11. Figure 11. Two-dimensional curve of Fermat spiral. The selection idea of the three spiral curves of EP-I, EP-II, and Hy is that when multiple agents are searching at the current optimal position, the agent performs a full search around the current optimal position according to its search path.

Fermat Spiral Curve (Fe)
The Fermat spiral curve is a kind of equiangular spiral curve. It is obtained by tire up the starting points of the two logarithmic spiral curves, whose rotation direction is opposite. The mathematical model of Fermat spiral searching path is described in Equation (15) and the two-dimensional image is show in Figure 11.  Figure 10. Two-dimensional curve of Epicycloid-II.
The selection idea of the three spiral curves of EP-I, EP-II, and Hy is that when multiple agents are searching at the current optimal position, the agent performs a full search around the current optimal position according to its search path.

Fermat Spiral Curve (Fe)
The Fermat spiral curve is a kind of equiangular spiral curve. It is obtained by tire up the starting points of the two logarithmic spiral curves, whose rotation direction is opposite. The mathematical model of Fermat spiral searching path is described in Equation (15) and the two-dimensional image is show in Figure 11.  Figure 11. Two-dimensional curve of Fermat spiral. Figure 11. Two-dimensional curve of Fermat spiral.

Lituus Spiral Curve (Li)
The Lituus spiral curve is parameterized and interacted by three helical curves. The mathematical model of Lituus spiral searching path is described in Equation (16) and the two-dimensional image is show in Figure 12.
Symmetry 2018, 10, x FOR PEER REVIEW 11 of 31 3.1.8. Lituus Spiral Curve (Li) The Lituus spiral curve is parameterized and interacted by three helical curves. The mathematical model of Lituus spiral searching path is described in Equation (16) and the twodimensional image is show in Figure 12. Li and Fe, we complete the search path corresponding to such functions by defining the positive and negative of two search agents. Search for larger ranges in less time by combining two agents searching in symmetrical positions.

Introduction of Disturbance Factor
In order to make the WOA search thoroughly near the location of the search agent, after each iteration, a set of more advantageous search positions * ( ) X t are obtained. But it will not go directly to the next iteration. A disturbance factor is carried out to search the nearby scope of * ( ) X t . The next iteration will generate a new best search agent. In order to get rid of the randomness and blindness of the original perturbation method, when constructing the perturbation factor, the range of disturbances are limited to ensure the accuracy of local search. At the same time, in order to make the search agents swim to the targets in the disturbance range as far as possible. Then the perceptual coefficient is introduced. In this way, the search agents are constantly changing the positions within the disturbance range and the optimal value are replaced with the current optimal. The introduced disturbance factor is described as follows.
() d d x x Step Rand After the disturbance, the position of the search agent is updated by the following equation.
where, u is the coefficient that defines the perturbation distance, () Rand is a random number between (−1, 1), Step is the step size of the search agent moving at the time of disturbance, d x is the position at time d, x is the current best position,  represents the point-to-point multiplication. Li and Fe, we complete the search path corresponding to such functions by defining the positive and negative of two search agents. Search for larger ranges in less time by combining two agents searching in symmetrical positions.

Introduction of Disturbance Factor
In order to make the WOA search thoroughly near the location of the search agent, after each iteration, a set of more advantageous search positions X * (t) are obtained. But it will not go directly to the next iteration. A disturbance factor is carried out to search the nearby scope of X * (t). The next iteration will generate a new best search agent. In order to get rid of the randomness and blindness of the original perturbation method, when constructing the perturbation factor, the range of disturbances are limited to ensure the accuracy of local search. At the same time, in order to make the search agents swim to the targets in the disturbance range as far as possible. Then the perceptual coefficient is introduced. In this way, the search agents are constantly changing the positions within the disturbance range and the optimal value are replaced with the current optimal. The introduced disturbance factor is described as follows.
After the disturbance, the position of the search agent is updated by the following equation.
where, u is the coefficient that defines the perturbation distance, Rand() is a random number between (−1, 1), Step is the step size of the search agent moving at the time of disturbance, x d is the position at time d, x is the current best position, ⊕ represents the point-to-point multiplication.
In the Equation (18), (x d − x)/ x d − x is selected for the nature of fitness function, when the fitness function solves the maximum value problem, select ( When the perturbation result is unchanged, the disturbed structure is allowed to enter the next main loop.

Improved WOA with Perceptual Disturbances and Complex Paths
The algorithm should search out a better position as fast as possible in the initial period of the disturbance. In the later stages of the perturbation, the search agent can perform a more thorough search near the target to improve the search accuracy. For the above given formula, the moving step size of the search agents is redefined as: Step max then Step = Step max (19) where Step min is the minimum value of the moving step, Step max is the maximum value of the moving step, N is the maximum number of iterations and n is the current number of iterations.
It can be seen from the above equations, the value of Step is the maximum value from the beginning of the iteration and the minimum at the end of the iteration. The algorithm procedure of the complex path-perceptual disturbance WOA (CP-PDWOA) is described as follows.
Step 1: Initialization. Randomly generate N search agents and initialize their locations.
Step 2: Realization of searching path. In this paper, the moving path of the search agents is improved, but the shrinking idea of the searching path is constant. Randomly generate a number p ∈ (0, 1). When p < 0.5, the shrinking encircling mechanism is executed so as to narrow the search radius. When p > 0.5, the method of the spiral updating position is executed. The above two steps are not followed by order and are random implemented.
Step 3: Update locations. The value of → A in Equation (5) is the criterion for the search agent to update the next location. When → A ≥ 1, the search agent randomly selects an agent as a reference for the next move, which is to ensure the ergodicity of the algorithm. When → A ≤ 1, the search agent chooses the current optimal agent as the reference for the next move, which is to ensure the convergence of the algorithm.
Step 4: Perceived perturbation. The best search agent at each iteration is disturbed. Then the position of the search agent is tested after the perturbation, and the test result is compared with the search agent obtained from the last disturbance to select the position of the better search agent. After a number of disturbances, a good set of search agents is obtained, and the best position X best is selected.
Step 5: Determine whether to terminate the iteration. If the fitness value f (X best ) reaches the termination condition, X best is the optimal solution. If it does not reached, the solution group obtained by Step 4 returned to Step 2 for the next iteration.
It must be explained that Step 2 and Step 3 are executed at the same time when the algorithm is ran. In this paper, it is decomposed into two steps in order to facilitate the expression.

Selection of Testing Functions
In order to test the performance of the improved WOA, 23 benchmark functions are selected in this paper [41,42]. The expressions of the functions are shown in Table 1 in details.
The three-dimensional images of a partial functions are shown in Figure 13a-i.

Simulation Results and Analysis
This paper tests the computational power of WOA by adopting 23 classical benchmark functions. Among them, the number of search agents is 30, the maximum number of iterations is 500. Each function runs 30 times and then takes the average to plot the convergence curve. Benchmark functions can be divided into four groups: unimodal, multimodal, fixed-dimension multimodal and composite functions. Functions F1-F7 are typical unimodal since they have only one global optimum. These functions allow to evaluate the exploitation capability of the investigated meta-heuristic algorithms. The functions F8-F23 are multimodal functions. Unlike unimodal functions, multimodal functions include many local optima whose number increases exponentially with the problem size (number of design variables). Therefore, this kind of test problems turns very useful if the purpose is to evaluate the exploration capability of an optimization algorithm.
In this paper, we completed the simulation in matlab2010b environment, the computer configuration is Windows 7. The related MATLAB code of CP-PDWOA is available online at https://github.com/sunweizhen01/CP-PDWOA.git. Firstly, in order to verify the effectiveness of the perturbation mechanism, the convergence curves of the original WOA and the convergence curves after the introduction of the disturbance mechanism only with logarithmic spiral curve are compared. Then, the search path of the WOA with the disturbance mechanism is replaced by several spiral curves listed in Table 1 so as to find out the search path with the best optimization performance. The paper chooses several functions from above mentioned classes as a representative, and their convergence curves are shown in the following Figures 14 and 15. The convergence performances of all the different methods are shown in Table 2. The convergence curves of the representative functions are shown in Figure 14a-i to verify the validity of the disturbance.
It can be seen from the Figure 14 that the convergence effect of the improved WOA with the introduction of the perturbation is better than the standard WOA, which proves that the perturbation mechanism is effective and can make the algorithm have good convergence speed and optimization precision. Next, the simulation results are carried out to verify which search has best search performance. Therefore, the convergence curves generated by the improved WOA with these proposed paths are compared.

Simulation Results and Analysis
This paper tests the computational power of WOA by adopting 23 classical benchmark functions. Among them, the number of search agents is 30, the maximum number of iterations is 500. Each function runs 30 times and then takes the average to plot the convergence curve. Benchmark functions can be divided into four groups: unimodal, multimodal, fixed-dimension multimodal and composite functions. Functions F1-F7 are typical unimodal since they have only one global optimum. These functions allow to evaluate the exploitation capability of the investigated meta-heuristic algorithms. The functions F8-F23 are multimodal functions. Unlike unimodal functions, multimodal functions include many local optima whose number increases exponentially with the problem size (number of design variables). Therefore, this kind of test problems turns very useful if the purpose is to evaluate the exploration capability of an optimization algorithm.
In this paper, we completed the simulation in matlab2010b environment, the computer configuration is Windows 7. The related MATLAB code of CP-PDWOA is available online at https://github.com/sunweizhen01/CP-PDWOA.git. Firstly, in order to verify the effectiveness of the perturbation mechanism, the convergence curves of the original WOA and the convergence curves after the introduction of the disturbance mechanism only with logarithmic spiral curve are compared. Then, the search path of the WOA with the disturbance mechanism is replaced by several spiral curves listed in Table 1 so as to find out the search path with the best optimization performance. The paper chooses several functions from above mentioned classes as a representative, and their convergence curves are shown in the following Figures 14 and 15. The convergence performances of all the different methods are shown in Table 2. The convergence curves of the representative functions are shown in Figure 14a-i to verify the validity of the disturbance.
It can be seen from the Figure 14 that the convergence effect of the improved WOA with the introduction of the perturbation is better than the standard WOA, which proves that the perturbation mechanism is effective and can make the algorithm have good convergence speed and optimization precision. Next, the simulation results are carried out to verify which search has best search performance. Therefore, the convergence curves generated by the improved WOA with these proposed paths are compared. In Figure 14, LSC represents the search path used by the original WOA, namely a spiral curve. Therefore, we use LSC to represent the original WOA and Disturbance-LSC to introduce PDWOA after perceptual perturbation. As can be seen from Figure 14, the perturbation-inducing WOA has significantly better convergence and convergence than the original WOA. Specifically, when the two methods converge to the same optimal value, Disturbance-LSC cannot reach the optimal value in fewer iterations. In general, Disturbance-LSC can converge to a better optimal value than LSC. There is a special case in these examples, F8. Through analysis of this function, we find that in the range of its range, we calculate the minimum value, and the WOA algorithm and PDWOA algorithm give the minimum value as far less than this value. The minimum value searched by other algorithms, such as GSA, PSO, etc., is much smaller than this value, which has been calculated in the paper [7]. So far, we have not found the specific reason for this problem.
Through the above analysis and Figure 14, we can find that PDWOA proposed in this paper has better performance than WOA. In the literature [7], WOA has been compared with many algorithms to determine the performance of WOA. In the following, on the basis of this research, we have studied the replacement of PDWOA algorithm search path. In order to ensure the validity of the proposed method, we have introduced the remaining eight spiral curves.
In order to distinguish it from the simulation results of the logarithmic spiral curve of the perturbation simulation part, we compare the different search path's effect on the convergence performance of the algorithm. We define the name of the logarithmic spiral curve as Lo. From a numerical perspective, the convergence curve represented by Lo is exactly equal to the convergence curve of Disturbance-LSC. In Figure 14, LSC represents the search path used by the original WOA, namely a spiral curve. Therefore, we use LSC to represent the original WOA and Disturbance-LSC to introduce PDWOA after perceptual perturbation. As can be seen from Figure 14, the perturbation-inducing WOA has significantly better convergence and convergence than the original WOA. Specifically, when the two methods converge to the same optimal value, Disturbance-LSC cannot reach the optimal value in fewer iterations. In general, Disturbance-LSC can converge to a better optimal value than LSC. There is a special case in these examples, F8. Through analysis of this function, we find that in the range of its range, we calculate the minimum value, and the WOA algorithm and PDWOA algorithm give the minimum value as far less than this value. The minimum value searched by other algorithms, such as GSA, PSO, etc., is much smaller than this value, which has been calculated in the paper [7]. So far, we have not found the specific reason for this problem.
Through the above analysis and Figure 14, we can find that PDWOA proposed in this paper has better performance than WOA. In the literature [7], WOA has been compared with many algorithms to determine the performance of WOA. In the following, on the basis of this research, we have studied the replacement of PDWOA algorithm search path. In order to ensure the validity of the proposed method, we have introduced the remaining eight spiral curves.
In order to distinguish it from the simulation results of the logarithmic spiral curve of the perturbation simulation part, we compare the different search path's effect on the convergence performance of the algorithm. We define the name of the logarithmic spiral curve as Lo. From a numerical perspective, the convergence curve represented by Lo is exactly equal to the convergence curve of Disturbance-LSC. It can be seen from the convergence curves of the benchmark functions and the comparison of the data in Table 2 that in the case of the same number of iterations, the convergence performance of the WOA using the Archimedes spiral curve as the search path of the search agents is superior to the logarithmic spiral curves used in the original algorithm and other seven spiral curves. In particular, for the function F5, F6, F10 and F13, the Archimedes spiral curve makes the convergence speed and accuracy of the algorithm improved obviously compared to other seven helical curves (search paths). Especially for the function F5, this function should be able to converge to 0, but the original WOA can only converge to 27.86, while the convergence of several other swarm intelligent algorithms is not very satisfactory [7]. However, when the search path is changed to the Archimedes spiral curve, the convergence result is obviously close to zero. On the other hand, seen from the three-dimensional images of function F8, F9 and F14, these three functions are very complex multipeak functions, which have many local minimum. In the CP-PDWOA, the added perturbation mechanism can make the algorithm effectively avoid the local minim and search the extreme points, and the convergence speed of the algorithm is obviously improved. It is shown that the improved idea proposed in this paper enhances the ability of the algorithm to avoid the local minimum. From the convergence curves of the functions and the data in Table 2, it can be seen that the improved whale optimization algorithm has excellent search performance. It can be seen from the convergence curves of the benchmark functions and the comparison of the data in Table 2 that in the case of the same number of iterations, the convergence performance of the WOA using the Archimedes spiral curve as the search path of the search agents is superior to the logarithmic spiral curves used in the original algorithm and other seven spiral curves. In particular, for the function F5, F6, F10 and F13, the Archimedes spiral curve makes the convergence speed and accuracy of the algorithm improved obviously compared to other seven helical curves (search paths). Especially for the function F5, this function should be able to converge to 0, but the original WOA can only converge to 27.86, while the convergence of several other swarm intelligent algorithms is not very satisfactory [7]. However, when the search path is changed to the Archimedes spiral curve, the convergence result is obviously close to zero. On the other hand, seen from the three-dimensional images of function F8, F9 and F14, these three functions are very complex multipeak functions, which have many local minimum. In the CP-PDWOA, the added perturbation mechanism can make the algorithm effectively avoid the local minim and search the extreme points, and the convergence speed of the algorithm is obviously improved. It is shown that the improved idea proposed in this paper enhances the ability of the algorithm to avoid the local minimum. From the convergence curves of the functions and the data in Table 2, it can be seen that the improved whale optimization algorithm has excellent search performance. As can be seen from Figure 15f, when the average value of the function F12 is searched, the areas of the convergence curves corresponding to Lo and Hy are equal, and there is only a slight difference in the early stage. This is not surprising, because from the convergence results of all the models, their convergence results do not think that there are huge differences in other functions; From the paths of the two models, it can be seen that the approximate convergence curve is obtained by adjusting the parameters of the function. The main reason is that these two models fall into the same local extreme point, so we get the same convergence curve, which is also related to the initialization of the agent. Because in order to ensure the feasibility of the simulation, we chose the pseudo-random number as the initial position of the agent.
It is concluded that the introduction of perceptual perturbation not only makes the searching of agents more purposeful, but also makes the location of search agents more diversified and prevents the algorithm from falling into local minim. At the same time, the moving step size of the search agent can be adjusted at different simulation phase so as to ensure that the algorithm in the early search has a strong ability to exploit and in the late search has a stronger explore capability. This ensures the accuracy of the algorithm searching process, but also makes the algorithm have a faster convergence rate.

Conclusions
In this paper, we have learned from other scholars' experience in the improvement of swarm intelligence algorithms, and improved the performance of WOA by introducing disturbance factors. Then the WOA search mechanism is analyzed and the logarithmic spiral curve of equal pitch is used as the search path of the agent. The simulation results also prove that the performance of the equal-pitch Archimedean spiral curve is superior to other types of spiral curve. When collating simulation and algorithm, we found that if we randomly define different search paths for different agents in the same iteration, the resulting convergence performance will be better, but correspondingly, this will also give the algorithm parameters. The adjustment brings a certain degree of difficulty. In summary, the proposed complex path-perceptual disturbance WOA (CP-PDWOA) algorithm has a stronger search performance.