Class ContinuousSampleImpl

    • Constructor Detail

      • ContinuousSampleImpl

        protected ContinuousSampleImpl​(Double value,
                                       Double probability)
        Parameters:
        value -
        probability -
    • Method Detail

      • getProbability

        public Double getProbability()
        Description copied from interface: IContinuousSample
        Probability that a sample lies in the interval specified by the ContinuousSample.
        Specified by:
        getProbability in interface IContinuousSample
        Returns:
        Probability for the interval.
      • setProbability

        public void setProbability​(Double probability)
      • getValue

        public double getValue()
        Description copied from interface: IContinuousSample
        Value represents the right border of the specified interval. (The left is given by the ContinuousSample with the next smaller value).
        Specified by:
        getValue in interface IContinuousSample
        Returns:
        Right border of the interval.
      • setValue

        public void setValue​(Double value)