terminate | R Documentation |
The function of terminating the genetic algorithm
terminate(tercrit, maxiter, objective, t, genfits, fitvals, objval, optdif, rmcnt, rmdif, abdif, mincv, sddif, rangedif, simlev, phidif, meandif, bestdif, stime, maxtime)
tercrit |
A vector. Indications of termination criteria. |
maxiter |
Maximum iteration |
objective |
????? |
t |
Generation number |
genfits |
A matrix. Best fitness of each generation |
fitvals |
Fitness values of current generation |
objval |
Global optimum value |
optdif |
Difference from global optimum value |
rmcnt |
k value for minimum difference of the mean of the last k best fitness values. |
rmdif |
The minimum difference between the mean of the last k best fitness values and the best fitness value in the current generation. |
abdif |
Minimum difference between best fitness value and mean of fitness values |
mincv |
Minimum coefficient of variance |
sddif |
The minimum difference between the last two standard deviations. |
rangedif |
Minimum and maximum difference (range of change) |
simlev |
Similarity percentage of fitness values |
phidif |
Phi convergence |
meandif |
The minimum difference between the last two fitness values |
bestdif |
Percentage of difference between the last two best fitness values |
stime |
System time saved before starting GA |
maxtime |
Maximum running time |
Termination criterion
0 : No termination
1 : Maximum iteration
2 : Reaching the global optimum value
3 : Converging the global optimum
4 : The minimum difference between the last two fitness values
5 : Percentage of difference between the last two best fitness values
6 : Minimum difference of the mean of the last k best fitness values
7 : Minimum difference between best fitness value and mean of fitness values
8 : The minimum difference between the last two standard deviations.
9 : Minimum and maximum difference (range of change)
10: Minimum coefficient of variance
11: Phi convergence
12: Similarity percentage of fitness values
13: Maximum running time
Zeynel Cebeci & Erkut Tekeli
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.