Calculates the value of the aggregates StandardDeviationSample, VarianceSample, StandardDeviationPopulation and VariancePopulation.
More...
#include <aggregatecalculatorstddev.h>
Inherits AggregateCalculator.
Calculates the value of the aggregates StandardDeviationSample, VarianceSample, StandardDeviationPopulation and VariancePopulation.
Initializes the aggregate calculator.
- Parameters
-
aggregateId | The aggregate function to apply. |
startTime | The start time. |
endTime | The end time. |
processingInterval | The processing interval. |
stepped | Whether to use stepped interpolation. |
configuration | The aggregate configuration. |
Calculates the RegSlope, RegConst and RegStdDev aggregates for the timeslice.
UaDataValue AggregateCalculatorStdDev::ComputeStdDev |
( |
TimeSlice & |
slice, |
|
|
bool |
includeBounds, |
|
|
int |
valueType |
|
) |
| |
|
protected |
Calculates the StdDev, Variance, StdDev2 and Variance2 aggregates for the timeslice.
Used by the Aggregators factory to create a new instance of the aggregate calculator.
- Parameters
-
aggregateId | The aggregate function to apply. |
startTime | The start time. |
endTime | The end time. |
processingInterval | The processing interval. |
stepped | Whether to use stepped interpolation. |
configuration | The aggregate configuration. |
The documentation for this class was generated from the following files:
- D:/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/aggregatecalculatorstddev.h
- D:/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/aggregatecalculatorstddev.cpp