class PoissonDistribution extends AbstractIntegerDistribution {

    public double cumulativeProbability(int x) {
        if (x < 0) {
            return 0;
        }
        if (x == Integer.MAX_VALUE) {
            return 1;
        }
        return Gamma.regularizedGammaQ((double) x + 1, mean, epsilon,
                                       maxIterations);
    }

    public  PoissonDistribution(double p);
    public  PoissonDistribution(double p, double epsilon, int maxIterations);
    public  PoissonDistribution(RandomGenerator rng,
                               double p,
                               double epsilon,
                               int maxIterations);
    public  PoissonDistribution(double p, double epsilon);
    public  PoissonDistribution(double p, int maxIterations);

}