LoggerTime | R Documentation |
This class logs the runtime of the algorithm. The logger also can be used to stop the algorithm after a defined time budget. The available time units are:
minutes
seconds
microseconds
logger_id |
( |
use_as_stopper |
( |
max_time |
( |
time_unit |
( |
S4 object.
LoggerTime$new(logger_id, use_as_stopper, max_time, time_unit)
This class doesn't contain public fields.
$summarizeLogger()
: () -> ()
# Define logger:
log_time = LoggerTime$new("time_minutes", FALSE, 20, "minutes")
# Summarize logger:
log_time$summarizeLogger()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.