public class ExperimentFeedbackContext extends Object
Constructor and Description |
---|
ExperimentFeedbackContext(StatefulMessageLogger loggerExperiment,
boolean detailedLogging,
ExecutionTimeRecorder executionTimeRecorder) |
Modifier and Type | Method and Description |
---|---|
ExecutionTimeRecorder |
getExecutionTimeRecorder()
Allows execution-time for particular operations to be recorded.
|
StatefulMessageLogger |
getLoggerExperiment()
The logger associated with the experiment.
|
InputOutputContextStateful |
inputOutput(ExecutionArguments executionArguments,
OutputterChecked outputter)
Derive an
InputOutputContextStateful from the current context. |
boolean |
isDetailedLogging()
Iff true, additional log messages are written to describe each job in terms of its unique
name, output folder, average execution time etc.
|
public ExperimentFeedbackContext(StatefulMessageLogger loggerExperiment, boolean detailedLogging, ExecutionTimeRecorder executionTimeRecorder)
public InputOutputContextStateful inputOutput(ExecutionArguments executionArguments, OutputterChecked outputter)
InputOutputContextStateful
from the current context.executionArguments
- the ExecutionArguments
for the context.outputter
- the OutputterChecked
for the context.InputOutputContextStateful
derived from both this class and
the passed arguments to this function.public StatefulMessageLogger getLoggerExperiment()
public boolean isDetailedLogging()
public ExecutionTimeRecorder getExecutionTimeRecorder()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.