LoggerIteration.Rd
Logger class to log the current iteration
S4
object.
LoggerIterationWrapper$new(logger_id, use_as_stopper, max_iterations)
logger_id
[character(1)
]Unique identifier of the logger.
use_as_stopper
[logical(1)
]Boolean to indicate if the logger should also be used as stopper.
max_iterations
[integer(1)
]If the logger is used as stopper this argument defines the maximal iterations.
This class doesn't contain public fields.
summarizeLogger()
Summarize the logger object.
# Define logger: log_iters = LoggerIteration$new("iterations", FALSE, 100) # Summarize logger: log_iters$summarizeLogger() #> Iteration logger: #> - Maximal iterations: 100 #> - Use logger as stopper: 0