Interface Parameter

All Superinterfaces:
AutoCheck
All Known Implementing Classes:
BatchPar, BernoulliPar, BinomialPar, BurstPar, CoxianPar, DeterministicDistrPar, EmpiricalPar, ErlangPar, ExponentialPar, GammaDistrPar, HyperExpPar, LognormalPar, MAPPar, MMPP2Par, NormalPar, ParetoPar, PhaseTypePar, PoissonPar, PoissonPar, ReplayerPar, ShiftedGeometricPar, StudentTPar, UniformPar, UniformPar, WeibullPar, ZipfPar

public interface Parameter extends AutoCheck
interface for all distributions parameters. You have to extend this class for every new distribution that you have.

Copyright (c) 2003
Politecnico di Milano - dipartimento di Elettronica e Informazione
Author:
Federico Granata (modified by Fabrizio Frontera - ffrontera@yahoo.it), Bertoli Marco, 10-oct-2005
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    It provide a method for the user to verify if the parameter that he is using is correct.
    void
    setMean(double value)
    Sets mean for a given distribution parameter.
  • Method Details

    • check

      boolean check()
      It provide a method for the user to verify if the parameter that he is using is correct.
      Specified by:
      check in interface AutoCheck
      Returns:
      boolean indicating whether or not the parameter is right.
    • setMean

      void setMean(double value) throws IncorrectDistributionParameterException
      Sets mean for a given distribution parameter. This method is required to adjust the mean value of a distribution into Load Dependent Service Time Strategy.
      Author: Bertoli Marco
      Parameters:
      value - New mean value for this distribution.
      Throws:
      IncorrectDistributionParameterException - if mean value is invalid for this distribution.