Class ErlangPar

All Implemented Interfaces:
AutoCheck, Parameter

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

Copyright (c) 2003
Politecnico di Milano - dipartimento di Elettronica e Informazione
Author:
Fabrizio Frontera - ffrontera@yahoo.it
  • Constructor Summary

    Constructors
    Constructor
    Description
    ErlangPar(double alpha, double r)
     
    ErlangPar(double alpha, long r)
    It creates a new erlang parameter with the information provided by the user.
    ErlangPar(Double walpha, Double wr)
     
    ErlangPar(Double walpha, Long wr)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    It controls if the parameters are correct or not.
    double
    It returns the parameter alpha of the erlang distribution, also called the "scale" parameter.
    long
    It returns the parameter r of the erlang distribution, also called the "shape" parameter.
    void
    setAlpha(double alpha)
    It allows the user to modify the value of the parameter alpha of the erlang distribution.
    void
    setMean(double value)
    Sets mean for a given distribution parameter.
    void
    setR(long r)
    It allows the user to modify the value of the parameter r of the erlang distribution.

    Methods inherited from class Object

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