Classes | |
| class | BinnedTimeValues< T extends Comparable< T > > |
| class | TimeValue< T extends Comparable< T > > |
Static Public Member Functions | |
| static long | floor (long value, long multipleOf) |
Package Functions | |
| public< T extends Comparable < T > > List< BinnedTimeValues < T > > | binTimedData (List< TimeValue< T >> data, int binningIntervalMillis) |
Apache commons math etc do not seem to provide decent binning functionality (except for a possible abuse of class EmpiricalDistributionImpl). That's why we do it here. It's an ad-hoc implementation used for binning various parsed log data in post-mortem debugging. Not yet tested enough for important operational use.
| public<T extends Comparable<T> > List<BinnedTimeValues<T> > alma.acs.algorithms.DataBinner.binTimedData | ( | List< TimeValue< T >> | data, | |
| int | binningIntervalMillis | |||
| ) | [package] |
Distributes the data into binning intervals of equal sizes (binningIntervalMillis).
| <T> | The type of data associated with a time. | |
| data | ||
| binningIntervalMillis |
References alma.acs.algorithms.DataBinner.floor().
| static long alma.acs.algorithms.DataBinner.floor | ( | long | value, | |
| long | multipleOf | |||
| ) | [static] |
Referenced by alma.acs.algorithms.DataBinner.binTimedData().
1.7.0