Class Weighting.MaxProcessor
java.lang.Object
eu.qualimaster.easy.extension.internal.Weighting.MaxProcessor
- All Implemented Interfaces:
Weighting.IPredictionProcessor
- Enclosing class:
Weighting
private static class Weighting.MaxProcessor
extends Object
implements Weighting.IPredictionProcessor
Implements a maximum prediction processor, i.e., collects the maximum values of the predictions.
- Author:
- Holger Eichelberger
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the result.voidpostProcess(String name) Postprocesses a named entry for multiple predictions.voidProcesses a single prediction.
-
Field Details
-
max
-
-
Constructor Details
-
MaxProcessor
private MaxProcessor()
-
-
Method Details
-
getResult
Returns the result.- Returns:
- the result, a mapping of observables to maximum values
-
process
Description copied from interface:Weighting.IPredictionProcessorProcesses a single prediction.- Specified by:
processin interfaceWeighting.IPredictionProcessor- Parameters:
obs- the observableprediction- the prediction
-
postProcess
Description copied from interface:Weighting.IPredictionProcessorPostprocesses a named entry for multiple predictions.- Specified by:
postProcessin interfaceWeighting.IPredictionProcessor- Parameters:
name- the name
-