Class MMPP2Par

All Implemented Interfaces:
AutoCheck, Parameter

public class MMPP2Par extends AbstractParameter implements Parameter
This is the parameter that should be passed to the MMPP2 distribution.

Copyright (c) 2008
Politecnico di Milano - dipartimento di Elettronica e Informazione
Author:
Giuliano Casale
  • Constructor Summary

    Constructors
    Constructor
    Description
    MMPP2Par(double lambda0, double lambda1, double sigma0, double sigma1)
    It creates a new MMPP2 parameter based on the data provided by the user.
    MMPP2Par(Double wlambda0, Double wlambda1, Double wsigma0, Double wsigma1)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    It verifies if the parameter is correct.
    It returns the parameter used to create the 1st exponential distribution used by the MMPP2 distribution.
    It returns the parameter used to create the 2nd exponential distribution used by the MMPP2 distribution.
    double
    It returns the value of the parameter lambda0, the parameter lambda for the 1st exponential distribution created by the MMPP2 parameter.
    double
    It returns the value of the parameter lambda1, the parameter lambda for the 2nd exponential distribution created by the MMPP2 parameter.
    double
    It returns the value of the mean of the MMPP2 distribution which is provided by the user or evaluated according to other data.
    double
    It returns the value of the parameter sigma0, the parameter sigma for the 1st exponential distribution created by the MMPP2 parameter.
    double
    It returns the value of the parameter sigma1, the parameter sigma for the 2nd exponential distribution created by the MMPP2 parameter.
    double
    It returns the value of the variance of the MMPP2 distribution which is provided by the user or evaluated according to other data.

    Methods inherited from class AbstractParameter

    setMean

    Methods inherited from class Object

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

    Methods inherited from interface Parameter

    setMean
  • Constructor Details

  • Method Details

    • check

      public boolean check()
      It verifies if the parameter is correct. For the MMPP2 distribution, the parameter is right if both the sigma values are gtz and both the lambda values are gtz.
      Specified by:
      check in interface AutoCheck
      Specified by:
      check in interface Parameter
      Overrides:
      check in class AbstractParameter
      Returns:
      boolean indicating if the parameter is correct or not.
    • getSigma0

      public double getSigma0()
      It returns the value of the parameter sigma0, the parameter sigma for the 1st exponential distribution created by the MMPP2 parameter.
      Returns:
      double with sigma0 the value of sigma for the 1st exponential distribution.
    • getSigma1

      public double getSigma1()
      It returns the value of the parameter sigma1, the parameter sigma for the 2nd exponential distribution created by the MMPP2 parameter.
      Returns:
      double with sigma1 the value of sigma for the 2nd exponential distribution.
    • getLambda0

      public double getLambda0()
      It returns the value of the parameter lambda0, the parameter lambda for the 1st exponential distribution created by the MMPP2 parameter.
      Returns:
      double with lambda0 the value of lambda for the 1st exponential distribution.
    • getLambda1

      public double getLambda1()
      It returns the value of the parameter lambda1, the parameter lambda for the 2nd exponential distribution created by the MMPP2 parameter.
      Returns:
      double with lambda1 the value of lambda for the 2nd exponential distribution.
    • getMean

      public double getMean()
      It returns the value of the mean of the MMPP2 distribution which is provided by the user or evaluated according to other data.
      Returns:
      double with the mean of the MMPP2 distribution.
    • getVar

      public double getVar()
      It returns the value of the variance of the MMPP2 distribution which is provided by the user or evaluated according to other data.
      Returns:
      double with the variance of the MMPP2 distribution.
    • getExpParam0

      public ExponentialPar getExpParam0()
      It returns the parameter used to create the 1st exponential distribution used by the MMPP2 distribution.
      Returns:
      exponentialPar with expParam0 the parameter of the 1st exponential distribution.
    • getExpParam1

      public ExponentialPar getExpParam1()
      It returns the parameter used to create the 2nd exponential distribution used by the MMPP2 distribution.
      Returns:
      exponentialPar with expParam1 the parameter of the 2nd exponential distribution.