Class to terminate the optimization after a fixed time point has been reached (as reported by Sys.time()
).
Dictionary
This Terminator can be instantiated via the
dictionary mlr_terminators or with the associated
sugar function trm()
:
Super class
bbotk::Terminator
-> TerminatorClockTime
Methods
Method is_terminated()
Is TRUE
iff the termination criterion is positive, and FALSE
otherwise.
Arguments
archive
(Archive).
Examples
stop_time = as.POSIXct("2030-01-01 00:00:00")
trm("clock_time", stop_time = stop_time)
#> <TerminatorClockTime>: Clock Time
#> * Parameters: stop_time=<POSIXct>