Interface IContinuousSample

All Known Implementing Classes:
ContinuousSampleImpl

public interface IContinuousSample
A ConinuousSample is used to describe the interfals in a BoxedPDF. It contains the x and y coordinates of the upper right corner of each box (or interval) in the BoxedPDF. There, the x-coordinate is given by the "value" and the y coordinate by the probability.
  • Method Summary

    Modifier and Type
    Method
    Description
    Probability that a sample lies in the interval specified by the ContinuousSample.
    double
    Value represents the right border of the specified interval.
  • Method Details

    • getProbability

      Double getProbability()
      Probability that a sample lies in the interval specified by the ContinuousSample.
      Returns:
      Probability for the interval.
    • getValue

      double getValue()
      Value represents the right border of the specified interval. (The left is given by the ContinuousSample with the next smaller value).
      Returns:
      Right border of the interval.