I - The type of the inputs.O - The type of the measurement result.public abstract class ADecomposableMeasure<I,O> extends java.lang.Object implements IMeasure<I,O>
| Constructor and Description |
|---|
ADecomposableMeasure() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<O> |
calculateMeasure(java.util.List<I> actual,
java.util.List<I> expected)
Computes the measure for a lists of input actual and the expected outcome expected.
|
O |
calculateMeasure(java.util.List<I> actual,
java.util.List<I> expected,
ai.libs.jaicore.basic.aggregate.IAggregateFunction<O> aggregateFunction)
Computes the measure for lists of input actual and the expected outcome expected and aggregates the measured values with the given aggregation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculateAvgMeasure, calculateMeasurepublic java.util.List<O> calculateMeasure(java.util.List<I> actual, java.util.List<I> expected)
IMeasurecalculateMeasure in interface IMeasure<I,O>actual - The list of actually available values.expected - The list of expected values to compare the actual values with.public O calculateMeasure(java.util.List<I> actual, java.util.List<I> expected, ai.libs.jaicore.basic.aggregate.IAggregateFunction<O> aggregateFunction)
IMeasurecalculateMeasure in interface IMeasure<I,O>actual - The list of actually available values.expected - The list of expected values to compare the actual values with.aggregateFunction - The aggregate function to be used to aggregate all the measurements.