- All Known Implementing Classes:
DownSampleImpl, LargestTriangleThreeBuckets, LargestTriangleThreeBucketsTime
public interface DownSampler
A class that implement a downsampler, used to reduce the number of point to display.
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRepresents a dataset containing timestamps and corresponding values.Method Summary
All MethodsModifier and TypeMethodDescriptiondownsize(long[] timestamps, double[] values) Downsample the given data.
Method Details
downsize
Downsample the given data.- Parameters:
timestamps- the timestamps, parallel to valuesvalues- the values, parallel to timestamps- Returns:
- the downsampled data set