All Implemented Interfaces:
Provider<Histogram>

public class CutBelowThreshold extends HistogramProviderUnary
This cuts a Histogram below a threshold BUT TRANSFERS ALL THE COUNT greater than equal to the threshold into the bin just below the threshold value

Note that this is NOT SYMMETRIC behaviour with HistogramProviderAbove

Author:
Owen Feehan
  • Constructor Details

    • CutBelowThreshold

      public CutBelowThreshold()
  • Method Details

    • createFromHistogram

      public Histogram createFromHistogram(Histogram histogram)
      Description copied from class: HistogramProviderUnary
      Creates a Histogram given the entity provided by the delegate.
      Specified by:
      createFromHistogram in class HistogramProviderUnary
      Parameters:
      histogram - the entity provided by the delegate.
      Returns:
      the created Histogram that is returned by the provider.
    • getThreshold

      public int getThreshold()
    • setThreshold

      public void setThreshold(int threshold)
    • isMerge

      public boolean isMerge()
    • setMerge

      public void setMerge(boolean merge)