SingleAccumulator
Base class for all accumulators.
Factories
accumulator(const string accumulator_name) -> SingleAccumulator
Factory for constructing accumulators.
Parameters
- accumulator_name: Name of accumulator to be constructed.
accumulator(const string accumulator_name, const Map parameters) -> SingleAccumulator
Factory for constructing accumulators.
Parameters
- accumulator_name: Name of accumulator to be constructed.
- parameters: Parameters for the accumulator.
Members
| Name | Description |
|---|---|
| accumulate | Accumulates the given value. |
| bin_size | Returns the bin size of the accumulator. |
| bin_sum | Returns the sum of elements in the currently open bin. |
| count | Returns the number of elements in the currently open bin. |
| estimate | Returns the estimated mean of the accumulated values. |
| has_open_bin | Returns true if the accumulator currently has an open bin. |
| num_values | Returns the number of values in the accumulator. |
| values | Returns the values stored in the accumulator. |