eu.bengreen.data.utility

## Class LargestTriangleThreeBucketsTime

- java.lang.Object
- - eu.bengreen.data.utility.DownSampleImpl
  - - eu.bengreen.data.utility.LargestTriangleThreeBucketsTime

- All Implemented Interfaces:
    DownSampler

      public class LargestTriangleThreeBucketsTime
      extends DownSampleImpl

  A variation of the Largest-Triangle-Three-Buckets.

  Modified by Fabrice Bacchella for NaN support.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.rrd4j.graph.DownSampler

      `DownSampler.DataSet`

  - ### Field Summary

    - ### Fields inherited from class eu.bengreen.data.utility.DownSampleImpl

      `threshold`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LargestTriangleThreeBucketsTime(int threshold)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `DownSampler.DataSet` | `downsizeImpl(DownSampler.DataSet sampled, long[] timestamps, double[] values)`

    - ### Methods inherited from class eu.bengreen.data.utility.DownSampleImpl

      `downsize, setDataSetLine`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LargestTriangleThreeBucketsTime

          public LargestTriangleThreeBucketsTime(int threshold)

  - ### Method Detail

    - #### downsizeImpl

          public DownSampler.DataSet downsizeImpl(DownSampler.DataSet sampled,
                                                  long[] timestamps,
                                                  double[] values)

      Specified by:
        `downsizeImpl` in class `DownSampleImpl`