|
Algorithm 5 HVPIC |
Input:
–the final generation of an EA; –accuracy level;
Output:
-
1:
Initialize a cluster list to contain the cluster consisting of all the points, initialize the solution list;
-
2:
// is the estimated peak height
-
3:
repeat
-
4:
Remove the cluster at the head of the clusters list;
-
5:
if then
-
6:
K-means(,2);
-
7:
for to number of trials do
-
8:
K-means(,2);
-
9:
if then
-
10:
-
11:
end if
-
12:
end for
-
13:
else
-
14:
the best individual in ;
-
15:
;
-
16:
continue;
-
17:
end if
-
18:
the best individual in ;
-
19:
the best individual in ;
-
20:
if hill-valley(, )==TRUE then
-
21:
if then
-
22:
;
-
23:
end if
-
24:
if then
-
25:
;
-
26:
end if
-
27:
else
-
28:
;
-
29:
end if
-
30:
until
|