Class AbstractParameter

java.lang.Object
random.AbstractParameter
Direct Known Subclasses:
BatchPar, BernoulliPar, BinomialPar, BurstPar, CoxianPar, DeterministicDistrPar, EmpiricalPar, ErlangPar, ExponentialPar, GammaDistrPar, HyperExpPar, LognormalPar, MAPPar, MMPP2Par, NormalPar, ParetoPar, PhaseTypePar, PoissonPar, ReplayerPar, ShiftedGeometricPar, StudentTPar, UniformPar, UniformPar, WeibullPar, ZipfPar

public abstract class AbstractParameter extends Object
TODO rivedere la descrizione 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
  • Constructor Details

    • AbstractParameter

      public AbstractParameter()
  • Method Details

    • check

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

      public 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.