Package | Description |
---|---|
agi.foundation.coverage.figureofmerit |
Contains types for computing statistical data on coverage calculations.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Comparable<T>> |
FigureOfMerit.of(FigureOfMerit.Function<T> f)
Create a delegate for the given interface.
|
static <T extends Comparable<T>> |
FigureOfMerit.of(FigureOfMerit.Function<T> f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static <T extends Comparable<T>> |
FigureOfMerit.of(FigureOfMerit.Function<T> f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
static double |
GridDescriptiveStatistics.averageFigureOfMerit(Iterable<? extends CoverageGridPointWithResults> gridPoints,
FigureOfMerit<Double> function)
Computes the average of a given figure of merit over the grid (ignoring grid weighting).
|
static double |
GridDescriptiveStatistics.averageWeightedFigureOfMerit(Iterable<? extends CoverageGridPointWithResults> gridPoints,
FigureOfMerit<Double> function)
|
static <T extends Comparable<T>> |
GridDescriptiveStatistics.maximumFigureOfMerit(Iterable<? extends CoverageGridPointWithResults> gridPoints,
FigureOfMerit<T> function)
Computes the maximum of a given figure of merit over the grid, based on the grid
point weights (usually area).
|
static <T extends Comparable<T>> |
GridDescriptiveStatistics.minimumFigureOfMerit(Iterable<? extends CoverageGridPointWithResults> gridPoints,
FigureOfMerit<T> function)
Computes the minimum of a given figure of merit over the grid.
|