Class PoissonPar

All Implemented Interfaces:
AutoCheck, Parameter

public class PoissonPar extends AbstractParameter implements Parameter
This is the parameter that should be passed to the Poisson distribution.
Author:
Leran Chen - 01/09/2021
  • Constructor Summary

    Constructors
    Constructor
    Description
    PoissonPar(double lambda)
    It creates a new Poisson parameter with the mean provided by the user.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    It controls if the parameter is correct or not.
    double
    It returns the value of the parameter lambda of the Poisson distribution.
    void
    setLambda(double lambda)
    It allows the user to modify the value of the parameter lambda of the Poisson distribution and verify if the value is correct that is if it is greater than zero.
    void
    setMean(double value)
    Sets mean for a given distribution parameter.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait