Interface PascalDistribution

    • Method Detail

      • getNumberOfSuccesses

        int getNumberOfSuccesses()
        Access the number of successes for this distribution.
        Returns:
        the number of successes
      • getProbabilityOfSuccess

        double getProbabilityOfSuccess()
        Access the probability of success for this distribution.
        Returns:
        the probability of success
      • setNumberOfSuccesses

        @Deprecated
        void setNumberOfSuccesses​(int successes)
        Deprecated.
        as of v2.1
        Change the number of successes for this distribution.
        Parameters:
        successes - the new number of successes
      • setProbabilityOfSuccess

        @Deprecated
        void setProbabilityOfSuccess​(double p)
        Deprecated.
        as of v2.1
        Change the probability of success for this distribution.
        Parameters:
        p - the new probability of success