Package randoop.generation
Class DefaultOperationHistoryLogger
- java.lang.Object
-
- randoop.generation.DefaultOperationHistoryLogger
-
- All Implemented Interfaces:
OperationHistoryLogInterface
public class DefaultOperationHistoryLogger extends Object implements OperationHistoryLogInterface
The default implementation of theOperationHistoryLogInterface
. Each method does nothing.
-
-
Constructor Summary
Constructors Constructor Description DefaultOperationHistoryLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(TypedOperation operation, OperationOutcome outcome)
Increments the count foroperation
andoutcome
.void
outputTable()
Prints a table showing the counts for each operation-outcome pair in the operation history log.
-
-
-
Method Detail
-
add
public void add(TypedOperation operation, OperationOutcome outcome)
Description copied from interface:OperationHistoryLogInterface
Increments the count foroperation
andoutcome
.- Specified by:
add
in interfaceOperationHistoryLogInterface
- Parameters:
operation
- theTypedOperation
outcome
- the generation outcome for the operation
-
outputTable
public void outputTable()
Description copied from interface:OperationHistoryLogInterface
Prints a table showing the counts for each operation-outcome pair in the operation history log.- Specified by:
outputTable
in interfaceOperationHistoryLogInterface
-
-