|
Algorithm 1 BKA |
| Begin |
|
Step 1. Initialize BKA population
|
|
Step 2. Corroborate fitness of each black-winged kite |
| Retrieve
|
|
Step 3. while) do |
| for each black-winged kite do
|
| /*Meticulous attacking phase*/ |
| if
|
| Recalibrate the attacking location via Equation (5) |
|
|
| else if do
|
| Recalibrate attacking location via Equation (5) |
|
|
| end if
|
| /*Swarm migration phase*/ |
| if
|
| Recalibrate migration location via Equation (7) |
|
|
| else if do
|
| Recalibrate migration location via Equation (7) |
|
|
| end if
|
| /* Handpick the fittest individual*/ |
| if
|
|
|
| else if do
|
|
|
| end if
|
| Enforce boundary constraints by detecting and correcting violations |
| Corroborate fitness of each black-winged kite |
| if there is a superior black-winged kite |
| end for
|
|
|
| end while
|
| Retrieve
|
| End |