|
Algorithm 1. Pseudo code of RNBO. |
| SL. No |
Pseudo code of RNBO |
| 1 |
and so on |
| 2 |
|
| 3 |
Initialize the population of the Namib beetle together with random locations |
| 4 |
Evaluate the fitness function using Equation (26) |
| 5 |
While do
|
| 6 |
|
| 7 |
An initial coefficient of humidity increases using Equation (33) |
| 8 |
The benefits of each region for collecting water |
| 9 |
For do
|
| 10 |
The capacity for receiving various beetles is identified utilizing Equation (28) |
| 11 |
End for |
| 12 |
For do
|
| 13 |
For do
|
| 14 |
|
| 15 |
End for |
| 16 |
End for |
| 17 |
For do//moving to wet regions |
| 18 |
For do
|
| 19 |
using Equations (31), (32) and (51) |
| 20 |
End for |
| 21 |
End for |
| 22 |
For do//Calculating population mass and move towards wet mass using Equation (54) |
| 23 |
End for |
| 24 |
|
| 25 |
End while |
| 26 |
|