cbx.utils.termination.max_eval_term#

class cbx.utils.termination.max_eval_term(max_eval=1000)[source]#

Bases: object

Check if the number of function evaluations is greater than or equal to the maximum number of evaluations.

Returns:

True if the number of function evaluations is greater than or equal to the maximum number of evaluations, False otherwise.

Return type:

bool

__call__(dyn)[source]#

Call self as a function.