This class takes multiple Terminators and terminates as soon as one or all of the included terminators are positive.

Format

R6::R6Class object inheriting from Terminator.

Construction

TerminatorCombo$new(terminators = list(TerminatorNone$new()))
term("combo")

Parameters

  • any :: logical(1)
    Terminate iff any included terminator is positive? (not all), default is `TRUE.

See also

Examples

term("combo", list(term("model_time", secs = 60), term("evals", n_evals = 10)), any = FALSE )
#> <TerminatorCombo> #> * Parameters: any=FALSE