|
Algorithm 1 The RUN algorithm |
-
1:
Input: Population size, Population initialization, and MaxIter of iterations.
-
2:
Output: The best Solution.
-
3:
Evaluate Objective Function using Equation (7).
-
4:
Calculate using Equation (2).
-
5:
while Stop condition not met do
-
6:
for n = 1 ... N do
-
7:
Evaluate Objective Function using Equation (7).
-
8:
if then
-
9:
calculate using Equation (5)
-
10:
if then
-
11:
if rand < w then
-
12:
Calculate using Equation (6).
-
13:
if then
-
14:
-
15:
end if
-
16:
end if
-
17:
else
-
18:
-
19:
end if
-
20:
end if
-
21:
end for
-
22:
end while
|