Interface AccumulatorOperators.ExpMovingAvgBuilder
- Enclosing class:
- AccumulatorOperators
public static interface AccumulatorOperators.ExpMovingAvgBuilder
Builder for
AccumulatorOperators.ExpMovingAvg
.- Since:
- 3.3
-
Method Summary
Modifier and TypeMethodDescriptionalpha
(double exponentialDecayValue) Define the exponential decay value.historicalDocuments
(int numberOfHistoricalDocuments) Define the number of historical documents with significant mathematical weight.
-
Method Details
-
historicalDocuments
Define the number of historical documents with significant mathematical weight.- Parameters:
numberOfHistoricalDocuments
-- Returns:
- new instance of
AccumulatorOperators.ExpMovingAvg
.
-
alpha
Define the exponential decay value.- Parameters:
exponentialDecayValue
-- Returns:
- new instance of
AccumulatorOperators.ExpMovingAvg
.
-