public static class FixedThresholdAlgorithm.FixedAlgorithmThresholdReducer extends Object implements ThresholdAlgorithmReducer
| Constructor and Description |
|---|
FixedAlgorithmThresholdReducer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ThresholdAlgorithm instance)
Add a ThresholdAlgorithm instance to the reducer
|
ThresholdAlgorithm |
getFinalResult() |
ThresholdAlgorithmReducer |
merge(ThresholdAlgorithmReducer other)
Combine two reducers and return the result
|
public void add(ThresholdAlgorithm instance)
ThresholdAlgorithmReduceradd in interface ThresholdAlgorithmReducerinstance - Instance to add. May be null.public ThresholdAlgorithmReducer merge(ThresholdAlgorithmReducer other)
ThresholdAlgorithmReducermerge in interface ThresholdAlgorithmReducerother - Other reducer to combine with this onepublic ThresholdAlgorithm getFinalResult()
getFinalResult in interface ThresholdAlgorithmReducerCopyright © 2021. All rights reserved.