Package com.gengoai.stream
Interface MStatisticsAccumulator
-
- All Superinterfaces:
MAccumulator<Double,EnhancedDoubleStatistics>
,Serializable
- All Known Implementing Classes:
LocalMStatisticsAccumulator
,SparkMStatisticsAccumulator
public interface MStatisticsAccumulator extends MAccumulator<Double,EnhancedDoubleStatistics>
Accumulator for calculating descriptive statistics- Author:
- David B. Bracewell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(double value)
Adds a value to the statistics accumulator.void
combine(EnhancedDoubleStatistics statistics)
Combines the given statistics with this one.
-
-
-
Method Detail
-
add
void add(double value)
Adds a value to the statistics accumulator.- Parameters:
value
- the value to add
-
combine
void combine(EnhancedDoubleStatistics statistics)
Combines the given statistics with this one.- Parameters:
statistics
- the statistics to combine
-
-