Class to terminate the optimization depending on the number of evaluations. An evaluation is defined by one resampling of a parameter value.

## Dictionary

This Terminator can be instantiated via the dictionary mlr_terminators or with the associated sugar function trm():

### Method is_terminated()

Is TRUE iff the termination criterion is positive, and FALSE otherwise.

#### Arguments

deep

Whether to make a deep clone.

## Examples

TerminatorEvals\$new()
#> <TerminatorEvals>
#> * Parameters: n_evals=100trm("evals", n_evals = 5)
#> <TerminatorEvals>
#> * Parameters: n_evals=5