Interface DiscretizedRange

All Known Implementing Classes:
DiscretizedRangeEqual

public interface DiscretizedRange
Range which has been split into indexed bins (subranges).
  • Method Summary

    Modifier and Type Method Description
    double binMax​(long index)
    Gets the max value of the bin at index.
    double binMin​(long index)
    Gets the min value of the bin at index.
    long index​(double value)
    Gets the index of the bin the value lies in.
  • Method Details

    • binMin

      double binMin​(long index)
      Gets the min value of the bin at index.
      Parameters:
      index - index
      Returns:
      min value of the bin specified by index
    • binMax

      double binMax​(long index)
      Gets the max value of the bin at index.
      Parameters:
      index - index
      Returns:
      max value of the bin specified by index
    • index

      long index​(double value)
      Gets the index of the bin the value lies in.
      Parameters:
      value - value
      Returns:
      max value of the bin specified by index