Interface IDiscretePDFFactory

All Known Subinterfaces:
IPDFFactory
All Known Implementing Classes:
PDFFactory

public interface IDiscretePDFFactory
  • Method Details

    • createBinomialDistribution

      IBinomialDistribution createBinomialDistribution(int trials, double probability)
      Creates a new BinomialDistribution for doing math.
      Parameters:
      trials - The trials
      probability - The probability of success
      Returns:
      The distribution
    • createPoissonDistribution

      IPoissonDistribution createPoissonDistribution(double mean)
      Creates a new PoissonDistribution for doing math.
      Parameters:
      mean - The mean
      Returns:
      The distribution
    • createUniformIntDistribution

      IUniformIntDistribution createUniformIntDistribution(int a, int b)
      Creates a new UniformIntDistribution for doing math.
      Parameters:
      a - The a value
      b - The b value
      Returns:
      The distribution