SlideShare a Scribd company logo
4
Most read
6
Most read
8
Most read
Crow Search Algorithm
DR. AHMED FOUAD ALI
FACULTY OF COMPUTERS AND INFORMATICS
SUEZ CANAL UNIVERSITY
Outline
 Crow search algorithm (History and main idea)
 Social behavior and inspiration.
 Crow search algorithm implementation.
 Crow search algorithm.
 References.
Crow search algorithm (History and main idea)
 Crow search algorithm (CSA) is a nature-
inspired algorithm, proposed by A. Askarzadeh
in 2016 .
 CSA is a population based method.
 CSA mimics the behavior of crow birds and
their social interaction.
Social behavior and inspiration
 Crows are intelligent birds which have large
brain relative to their body size.
 They are living in group (flock).
 They hide their foods in hiding places.
 They can memorize these places and retrieve
the hidden foods even after several months.
Social behavior and inspiration (Cont.)
 Crows can do thievery by following the other
crows in order to watch their food's hiding
places and steal the hidden food.
 If a crow feels that another one is following it,
it moves to another place far away form the
food's hiding place in order to fool a thief.
Crow search algorithm implementation.
 The crow search algorithm (CSA) mimics the
social behavior of the crow birds as shown in
the following items.
 {Initialization}. The crows in the group
represent the search agent (solution) in the
population, the search space represents the
environment.
 The population contains N solutions.
 The position of each crow i at iteration t is
represented by a vector xt
i ,
where xt
i = [xt
i1, xt
i2, ..., xt
id] and d is a problem
dimension.
Crow search algorithm implementation (Cont.)
 The whole population of size N with dimension
d at iteration t can be represented as follow
Crow search algorithm implementation (Cont.)
 {Memory Initialization.} The memory M of all
crows (population) at iteration t for dimension d
are initialized as follow.
Crow search algorithm implementation (Cont.)
 {Solution evaluation.} Each solution in the
population is evaluated by calculating its fitness
by using the fitness function (objective function)
f(xi
(t+1) ).
 {Position update.} The crow (solution) i can
update its position based on the position of
crow j (a random selected solution in the
population) in order to discover its food's
hiding place.
 During the movement of crow i toward crow j
two stats can happen.
Crow search algorithm implementation (Cont.)
 State 1: If crow j does not watch crow i when it follow
it, crow i will discover the food's hiding place of crow j
and the crow i will update its position as follow.
Where ri is random number in the interval [0,1], fli
(t) is the
flight length and mj
(t) is the memory of crow j.
The value of fl is responsible for the exploration and
exploitation processes, if fl < 1, it means the crow i will
move toward crow j which lead to local search while if
fl > 1 it means the crow i will move far from crow j which
leads to global search.
Crow search algorithm implementation (Cont.)
 State 2: The another state is happened when the crow j
knows that crow i is watching it and it discovered its
food's hiding place.
 At this case the crow j move random to fool crow i.
 The two states are based on the awareness probability
Apt
i of each crow in the population as follow.
Where Apt
i is the awareness probability.
The CSA balancing between exploration and
exploitation processes according to the value of Apt
i .
Increasing the value of Apt
i leads to global search while
decreasing the value of Apt
i leads to local search.
Crow search algorithm implementation (Cont.)
 {Memory update.} Each crow (solution) updates its
memory according to fitness value.
 If the fitness value of the new crow's position is better
than the current memory's value then it updates its
memory otherwise the memory will not changed.
 The process of updating memory is shown as follow.
Crow search algorithm.
Crow search algorithm (Cont.)
 {Parameters initialization.} At the beginning, we set the initial values for the
flight length fl, awareness probability AP parameters, the population size N and
the maximum number of iterations maxitr.
 {Iteration counter initialization.} we set the initial iteration's counter, where t = 0.
 { Population initialization.} we generate the initial population randomly, each
solution in the population is vector where xi
(t) ∈ [L,U] randomly, i = 1,…,N.
 { Solution evaluation.} Each solution in the population is evaluated by calculating
it fitness function.
 { Memory initialization.} The initial memory for each solution in the population
is a vector m (t) and it is assigned after calculating its fitness function.
Crow search algorithm (Cont.)
 {Solution update.} The main loop of the algorithm is repeated until the termination
criteria are satisfied.
 Each solution in the population is updated according to the value of the awareness
probability as shown in Equations 1 and 2.
 {Solution feasibility.} The solution's new position is accepted if its value is feasible,
otherwise its rejected and the current solution is kept.
 {Memory update.} In Equation 3, the memory of each solution is updated
according to the fitness of it.
 If the fitness value of each solution is better than the current solution's memory
value then the memory is updated otherwise the memory is not updated.
 {Best solution produced.} Once the termination criteria are satisfied, the overall
best solution is produced.
References
 A. Askarzadeh. A novel meta-heuristic method for solving constrained
engineering optimization problems: crow search algorithm. Computers &
Structures, 169, 1-12, 2016.

More Related Content

PPTX
Salp swarm algorithm
PPTX
Grasshopper optimization algorithm
PPTX
JavaFX Presentation
PPTX
Basic calculator
PDF
Stereo vision
PDF
Disaster management forest fire
PDF
Normality tests
PDF
PROCESS CONTROL.pdf
Salp swarm algorithm
Grasshopper optimization algorithm
JavaFX Presentation
Basic calculator
Stereo vision
Disaster management forest fire
Normality tests
PROCESS CONTROL.pdf

What's hot (20)

PPTX
Butterfly optimization algorithm
PDF
Decision trees in Machine Learning
PPTX
Bat algorithm
PPTX
Decision Tree Learning
PPTX
ID3 ALGORITHM
PPT
Ant Colony Optimization - ACO
PPT
AI Lecture 4 (informed search and exploration)
PDF
Logistic regression in Machine Learning
PDF
I. Alpha-Beta Pruning in ai
PPTX
Decision tree induction \ Decision Tree Algorithm with Example| Data science
PPTX
Artificial Intelligence Searching Techniques
PPTX
Local beam search example
PDF
I. Hill climbing algorithm II. Steepest hill climbing algorithm
PPTX
MACHINE LEARNING - GENETIC ALGORITHM
PDF
Decision Tree in Machine Learning
PDF
Decision tree
PDF
I.BEST FIRST SEARCH IN AI
PDF
Markov decision process
PDF
Introduction to object detection
PPT
Ant colony optimization
Butterfly optimization algorithm
Decision trees in Machine Learning
Bat algorithm
Decision Tree Learning
ID3 ALGORITHM
Ant Colony Optimization - ACO
AI Lecture 4 (informed search and exploration)
Logistic regression in Machine Learning
I. Alpha-Beta Pruning in ai
Decision tree induction \ Decision Tree Algorithm with Example| Data science
Artificial Intelligence Searching Techniques
Local beam search example
I. Hill climbing algorithm II. Steepest hill climbing algorithm
MACHINE LEARNING - GENETIC ALGORITHM
Decision Tree in Machine Learning
Decision tree
I.BEST FIRST SEARCH IN AI
Markov decision process
Introduction to object detection
Ant colony optimization
Ad

Similar to Crow search algorithm (20)

PPTX
Bio-Inspired Techniques(Crow-search-algorithm).pptx
PPTX
Bio-Inspired Techniques(Cat Swarm Optimization).pptx
PPTX
Particle Swarm Optimization by Rajorshi Mukherjee
PDF
Enhanced abc algo for tsp
PPTX
Cuckoo Search & Firefly Algorithms
PPTX
Whale optimizatio algorithm
PDF
Metaheuristics Using Agent-Based Models for Swarms and Contagion
PDF
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
PPTX
whaleoptimizatioalgorithm-161008153549.pptx
PDF
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
PDF
Cib vol3no1 article4
PDF
Evaluation the efficiency of cuckoo
PDF
Spike timing dependent plasticity to make robot navigation more intelligent. ...
PDF
Comparative study of_hybrids_of_artificial_bee_colony_algorithm
PPTX
PSO-ACO-Presentation.pptx
PPTX
Particle Swarm Optimization
PPTX
B-PSO-ACO-Presentation .pptx
PDF
POSTDOC : THE HUMAN OPTIMIZATION
PDF
MPCR_R_O_V_E_R_Final
PDF
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Bio-Inspired Techniques(Crow-search-algorithm).pptx
Bio-Inspired Techniques(Cat Swarm Optimization).pptx
Particle Swarm Optimization by Rajorshi Mukherjee
Enhanced abc algo for tsp
Cuckoo Search & Firefly Algorithms
Whale optimizatio algorithm
Metaheuristics Using Agent-Based Models for Swarms and Contagion
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
whaleoptimizatioalgorithm-161008153549.pptx
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
Cib vol3no1 article4
Evaluation the efficiency of cuckoo
Spike timing dependent plasticity to make robot navigation more intelligent. ...
Comparative study of_hybrids_of_artificial_bee_colony_algorithm
PSO-ACO-Presentation.pptx
Particle Swarm Optimization
B-PSO-ACO-Presentation .pptx
POSTDOC : THE HUMAN OPTIMIZATION
MPCR_R_O_V_E_R_Final
Solving Quadratic Assignment Problems (QAP) using Ant Colony System
Ad

More from Ahmed Fouad Ali (20)

PPTX
Zebra Optimization Algorithm (ZOA)).pptx
PPTX
Variable neighborhood search (Meta-heuristics).pptx
PPTX
Tabu search algorithm (Meta-heuristics).pptx
PPTX
Simulated Annealing (Meta-heuristics).pptx
PPTX
Social Spider optimization (SSO ).pptx
PPTX
Partical swarm optimization (PSO).pptx
PPTX
Introduction to Latex symbols and commands
PPTX
Group Search Optimizer (GSO) (Population base algorithm)
PPTX
Grey Wolf Optimizer (GWO) (Swarm Intelligence)
PPTX
Gravitational Search Algorithm(GSA).pptx
PPTX
Flower pollination algorithm (Population based algorithm)
PPTX
Cuckoo Search Algorithm (CSA) (Swarm Intelligence)
PPTX
Backtracking Search Optimization Algorithm (BSA)
PPTX
Artificial Fish Swarm Algorithm (Swarm Intelligence)
PPTX
Artificial Bee Colony (ABC) (Swarm Intelligence)
PPTX
Ant Colony Optimization(ACO) (Swarm intelligence)pptx
PPTX
Reptile search algorithm (RSA) (Swarm intelligence)
PPTX
Manta Ray Optimization.pptx
PPTX
Harris hawks optimization
PPTX
Sunflower optimization algorithm
Zebra Optimization Algorithm (ZOA)).pptx
Variable neighborhood search (Meta-heuristics).pptx
Tabu search algorithm (Meta-heuristics).pptx
Simulated Annealing (Meta-heuristics).pptx
Social Spider optimization (SSO ).pptx
Partical swarm optimization (PSO).pptx
Introduction to Latex symbols and commands
Group Search Optimizer (GSO) (Population base algorithm)
Grey Wolf Optimizer (GWO) (Swarm Intelligence)
Gravitational Search Algorithm(GSA).pptx
Flower pollination algorithm (Population based algorithm)
Cuckoo Search Algorithm (CSA) (Swarm Intelligence)
Backtracking Search Optimization Algorithm (BSA)
Artificial Fish Swarm Algorithm (Swarm Intelligence)
Artificial Bee Colony (ABC) (Swarm Intelligence)
Ant Colony Optimization(ACO) (Swarm intelligence)pptx
Reptile search algorithm (RSA) (Swarm intelligence)
Manta Ray Optimization.pptx
Harris hawks optimization
Sunflower optimization algorithm

Recently uploaded (20)

PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Basic Mud Logging Guide for educational purpose
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Institutional Correction lecture only . . .
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Business Ethics Teaching Materials for college
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Pharma ospi slides which help in ospi learning
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Microbial diseases, their pathogenesis and prophylaxis
Abdominal Access Techniques with Prof. Dr. R K Mishra
102 student loan defaulters named and shamed – Is someone you know on the list?
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Basic Mud Logging Guide for educational purpose
TR - Agricultural Crops Production NC III.pdf
Cell Structure & Organelles in detailed.
01-Introduction-to-Information-Management.pdf
Institutional Correction lecture only . . .
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Business Ethics Teaching Materials for college
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Renaissance Architecture: A Journey from Faith to Humanism
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Module 4: Burden of Disease Tutorial Slides S2 2025
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Pharma ospi slides which help in ospi learning

Crow search algorithm

  • 1. Crow Search Algorithm DR. AHMED FOUAD ALI FACULTY OF COMPUTERS AND INFORMATICS SUEZ CANAL UNIVERSITY
  • 2. Outline  Crow search algorithm (History and main idea)  Social behavior and inspiration.  Crow search algorithm implementation.  Crow search algorithm.  References.
  • 3. Crow search algorithm (History and main idea)  Crow search algorithm (CSA) is a nature- inspired algorithm, proposed by A. Askarzadeh in 2016 .  CSA is a population based method.  CSA mimics the behavior of crow birds and their social interaction.
  • 4. Social behavior and inspiration  Crows are intelligent birds which have large brain relative to their body size.  They are living in group (flock).  They hide their foods in hiding places.  They can memorize these places and retrieve the hidden foods even after several months.
  • 5. Social behavior and inspiration (Cont.)  Crows can do thievery by following the other crows in order to watch their food's hiding places and steal the hidden food.  If a crow feels that another one is following it, it moves to another place far away form the food's hiding place in order to fool a thief.
  • 6. Crow search algorithm implementation.  The crow search algorithm (CSA) mimics the social behavior of the crow birds as shown in the following items.  {Initialization}. The crows in the group represent the search agent (solution) in the population, the search space represents the environment.  The population contains N solutions.  The position of each crow i at iteration t is represented by a vector xt i , where xt i = [xt i1, xt i2, ..., xt id] and d is a problem dimension.
  • 7. Crow search algorithm implementation (Cont.)  The whole population of size N with dimension d at iteration t can be represented as follow
  • 8. Crow search algorithm implementation (Cont.)  {Memory Initialization.} The memory M of all crows (population) at iteration t for dimension d are initialized as follow.
  • 9. Crow search algorithm implementation (Cont.)  {Solution evaluation.} Each solution in the population is evaluated by calculating its fitness by using the fitness function (objective function) f(xi (t+1) ).  {Position update.} The crow (solution) i can update its position based on the position of crow j (a random selected solution in the population) in order to discover its food's hiding place.  During the movement of crow i toward crow j two stats can happen.
  • 10. Crow search algorithm implementation (Cont.)  State 1: If crow j does not watch crow i when it follow it, crow i will discover the food's hiding place of crow j and the crow i will update its position as follow. Where ri is random number in the interval [0,1], fli (t) is the flight length and mj (t) is the memory of crow j. The value of fl is responsible for the exploration and exploitation processes, if fl < 1, it means the crow i will move toward crow j which lead to local search while if fl > 1 it means the crow i will move far from crow j which leads to global search.
  • 11. Crow search algorithm implementation (Cont.)  State 2: The another state is happened when the crow j knows that crow i is watching it and it discovered its food's hiding place.  At this case the crow j move random to fool crow i.  The two states are based on the awareness probability Apt i of each crow in the population as follow. Where Apt i is the awareness probability. The CSA balancing between exploration and exploitation processes according to the value of Apt i . Increasing the value of Apt i leads to global search while decreasing the value of Apt i leads to local search.
  • 12. Crow search algorithm implementation (Cont.)  {Memory update.} Each crow (solution) updates its memory according to fitness value.  If the fitness value of the new crow's position is better than the current memory's value then it updates its memory otherwise the memory will not changed.  The process of updating memory is shown as follow.
  • 14. Crow search algorithm (Cont.)  {Parameters initialization.} At the beginning, we set the initial values for the flight length fl, awareness probability AP parameters, the population size N and the maximum number of iterations maxitr.  {Iteration counter initialization.} we set the initial iteration's counter, where t = 0.  { Population initialization.} we generate the initial population randomly, each solution in the population is vector where xi (t) ∈ [L,U] randomly, i = 1,…,N.  { Solution evaluation.} Each solution in the population is evaluated by calculating it fitness function.  { Memory initialization.} The initial memory for each solution in the population is a vector m (t) and it is assigned after calculating its fitness function.
  • 15. Crow search algorithm (Cont.)  {Solution update.} The main loop of the algorithm is repeated until the termination criteria are satisfied.  Each solution in the population is updated according to the value of the awareness probability as shown in Equations 1 and 2.  {Solution feasibility.} The solution's new position is accepted if its value is feasible, otherwise its rejected and the current solution is kept.  {Memory update.} In Equation 3, the memory of each solution is updated according to the fitness of it.  If the fitness value of each solution is better than the current solution's memory value then the memory is updated otherwise the memory is not updated.  {Best solution produced.} Once the termination criteria are satisfied, the overall best solution is produced.
  • 16. References  A. Askarzadeh. A novel meta-heuristic method for solving constrained engineering optimization problems: crow search algorithm. Computers & Structures, 169, 1-12, 2016.