Closed RyokoIzuta closed 4 years ago
理由は下記の2つ
- 2020-05-18 18:15:16 [main] [INFO] KGenProgMain - enough solutions have been found. - 2020-05-18 18:15:16 [main] [INFO] KGenProgMain - GA stopped at the era of 10th generation. 2020-05-18 18:15:16 [main] [INFO] Patch - --- example.CloseToZero +++ example.CloseToZero @@ -16,7 +16,6 @@ */ public int close_to_zero(int n) { if (n == 0) { - n++; // bug here } else if (n > 0) { n--; } else { - 2020-05-18 18:15:16 [main] [INFO] KGenProgMain - execution time: 631 seconds
+ 2020-05-18 18:15:16 [main] [INFO] KGenProgMain - GA stopped. 2020-05-18 18:15:16 [main] [INFO] Patch - --- example.CloseToZero +++ example.CloseToZero @@ -16,7 +16,6 @@ */ public int close_to_zero(int n) { if (n == 0) { - n++; // bug here } else if (n > 0) { n--; } else { + 2020-05-18 18:15:16 [main] [INFO] KGenProgMain - Overall + Generation = 10 + Generated variants = 100 + Syntax valid variants = 35 + Build succeeded variants = 31 + Time elapsed = 631sec + Exit status = SUCCESS
失敗時は
Exit status = SUCCESS
の代わりに
Exit status = FAIL(maximum generation)
Exit status = FAIL(time limit)
relating to #456
次のものも追加候補(メモ)
理由は下記の2つ
旧
新
失敗時は
の代わりに