Package randoop.generation
Interface OperationHistoryLogInterface
-
- All Known Implementing Classes:
DefaultOperationHistoryLogger
,OperationHistoryLogger
public interface OperationHistoryLogInterface
Interface for classes that log the usage of operations in the generated sequences. Represents a table of counts indexed by operations and the outcome (as aOperationOutcome
.
-
-
Method Summary
All Methods Instance Methods Abstract 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
void add(TypedOperation operation, OperationOutcome outcome)
Increments the count foroperation
andoutcome
.- Parameters:
operation
- theTypedOperation
outcome
- the generation outcome for the operation
-
outputTable
void outputTable()
Prints a table showing the counts for each operation-outcome pair in the operation history log.
-
-