Skip to content

Commit c028620

Browse files
Update optimizer.py
1 parent f62bd97 commit c028620

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pypop7/optimizers/core/optimizer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ class Terminations(IntEnum):
1414
optimizer will stop to run immediately.
1515
* FITNESS_THRESHOLD: When the threshold of the *best-so-far* fitness is reached,
1616
the black-box optimizer will stop to run immediately.
17-
* EARLY_STOPPING
17+
* EARLY_STOPPING: When the condition of early stopping is reached,
18+
the black-box optimizer will stop to run immediately.
1819
"""
1920
NO_TERMINATION = 0
2021
MAX_FUNCTION_EVALUATIONS = 1 # maximum of function evaluations

0 commit comments

Comments
 (0)