Professional Documents
Culture Documents
Zolghadr Asli2017
Zolghadr Asli2017
14.1 Introduction
In the last several decades, optimization played a crucial role in many aspects of
various problems, including but not limited to engineering problems. Often, such
problems include complicated objective functions, numerous decision variables,
and a considerable number of constraints, which adds complexity to an already
complicated optimization problem. The aforementioned characteristics limit the
efficiency of traditional optimization techniques. Consequently, the search for an
alternative method leads to a new field of study—swarm intelligence (SI), which
was introduced by Beni and Wang in the late 1980s (Bei and Wang 1993). SI,
ultimately, aims to imitate the social intelligence of the nature’s group living
creatures (Bonabeau et al. 1999). Each newly proposed algorithm attempts to
improve two main features: (1) decreasing the distance between the reported
solutions and the actual global optima; and/or (2) reducing the solution searching
time. Although each proposed optimization algorithm has its unique characteristics,
with both merits and drawbacks, it has been proven that there is no single algorithm
that could outperform all its rivals (Wolpert and Macready 1997). Subsequently, a
wide range of alternative novel optimization algorithms have been proposed, each
of which has its exclusive advantages.
One of these newly proposed algorithms is the crow search algorithm (CSA),
which was initially introduced by Askarzadeh (2016). CSA attempts to imitate the
social intelligence of crow flock and their food gathering process. The primary
results illustrated the improved efficiency of CSA over many conventional opti-
mization algorithms, such as genetic algorithm (GA), particle swarm optimization
(PSO), and harmony search (HS), in both convergence time and the accuracy of the
results (Askarzadeh 2016). Ultimately, it can be concluded that CSA is a proper
alternative method for solving complex engineering optimization problems.
Crows are a widely distributed genus of birds, which have been credited with
intelligence throughout folklore. Recent experiments investigating the cognitive
abilities of crows have begun to reveal the intelligence capability of these species
(Emery and Clayton 2004, 2005; Prior et al. 2008). The studies have demonstrated
that some species of crows are not only superior in intelligence to other birds but
also rival many nonhuman primates. Observations of the crows’ tool use in the wild
are an example of their complex cognition (Emery and Clayton 2004). Further
studies have also revealed their self-awareness, face recognition capabilities,
sophisticated communication techniques, and food storing and retrieving skills
across seasons (Emery and Clayton 2005; Prior et al. 2008).
Interestingly, a crow individual has a tendency to tap into the food resources of
other species, including the other crow members of the flock. In fact, each crow
attempts to hide its excess food in a hideout spot and retrieve the stored food in the
time of need. However, the other members of the flock, which have their own food
reservation spots as well, try to tail one another to find these hiding spots and
plunder the stored food. Nevertheless, if a crow senses that it has been pursuited by
other members of the flock, in order to lose the tail and deceive the plunderer, it
maneuvers its path into a fallacious hideout spot (Clayton and Emery 2005).
Plainly, the aforementioned is the core principles of the CSA, in which each crow
individual searches the decision space for hideouts with the best food resources
(i.e., the global optima from the point of view of optimization). Thus, each crow
individual’s motion is induced by two main features: (1) finding the hideout spots
of the other members of the flock; and (2) protecting its own hideout spots.
In the standard CSA, the flock of crows spread and search throughout the
decision space for the perfect hideout spots (global optima). Since any efficient
14 Crow Search Algorithm (CSA) 145
in which ri = a random number with the uniform distribution and the range of [0,1];
and fl(i,t) = flight length of the ith crow individual at the tth iteration.
It is worth to be mentioned that fl(i,t) is one of the algorithm’s parameters and it
can affect the searching capability of the algorithm. Assume that smaller values of fl
lead to the local search at the vicinity of x(i,t), while larger values of fl would widen
the searching space. In terms of optimization, smaller values of fl would help
intensify the results, while larger values of fl would diversify the results. Both
well-intensification and -diversification are the characteristics of an efficient opti-
mization algorithm (Gandomi et al. 2013).
There could also be the case, in which the jth crow individual would sense that it
had been tailed by one of the members of the flock (say the ith crow). As a result, in
order to protect its food supply from the plunderer, the jth crow would deceitfully
fly over a non-hideout spot. To imitate such an action in the CSA, a random place in
the d-dimensional decision space would be assumed for the ith crow.
In summary, the tailing motion of crow individuals for the aforementioned two
cases can be expressed as (Askarzadeh 2016)
xði;tÞ þ ri flði;tÞ mðj;tÞ xði;tÞ rj APðj;tÞ
xði;t þ 1Þ ¼ ð14:2Þ
a random position otherwise
146 B. Zolghadr-Asli et al.
in which rj = a random number with the uniform distribution and the range of [0,1];
and AP(j,t) = the awareness probability of the jth crow at the tth iteration.
As mentioned previously, an efficient metaheuristic algorithm should provide a
good balance between diversification and intensification (Yang 2010). In the CSA,
intensification and diversification are mainly controlled by two parameters: the
flight length (fl) and the awareness probability (AP). By decreasing the awareness
probability, the chance of detecting the hideout spots by the members of the crow
flock would increase. As a result, CSA tends to focus the search on the vicinity of
the hideout spots. Thus, it can be assumed that smaller values of AP would amplify
the intensification aspect of the algorithm. On the other hand, by increasing the
awareness probability, the flock of crows is more likely to search the decision space
in a random manner for, in fact, such an action would decrease the chance of
discovering the real hideout spots by the plunderers. As a result, larger values of AP
would amplify the diversification aspect of the algorithm.
in which f[] = objective function. These steps are repeated until the termination
criterion is satisfied. At that point, the best position that is memorized by the
members of the crow flock is reported as the optimum solution. Figure 14.1
illustrates the flowchart of the standard CSA. Additionally, Table 14.1 summarizes
the characteristics of the CSA.
148 B. Zolghadr-Asli et al.
14.5 Conclusion
This chapter described the crow search algorithm (CSA), which is a novel, yet
relatively new metaheuristic optimization algorithm, based on the intelligent
behavior of crows. CSA is a population-based optimization algorithm, with mainly
two adjustable parameters (flight length and awareness probability). Such charac-
teristics make CSA a viable option for complex engineering optimization problems.
In the final section, a pseudocode of the standard CSA was also presented.
References