Class ShiftedGeometricPar
java.lang.Object
random.AbstractParameter
random.discrete.ShiftedGeometricPar
Parameters of the shifted geometric distribution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck()It provide a method for the user to verify if the parameter that he is using is correct.doublevoidsetMean(double value) Sets mean for a given distribution parameter.voidsetProbability(double p)
-
Constructor Details
-
ShiftedGeometricPar
-
ShiftedGeometricPar
-
-
Method Details
-
check
public boolean check()Description copied from class:AbstractParameterIt provide a method for the user to verify if the parameter that he is using is correct. -
getProbability
public double getProbability() -
setProbability
-
setMean
Description copied from class:AbstractParameterSets 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- Specified by:
setMeanin interfaceParameter- Overrides:
setMeanin classAbstractParameter- Parameters:
value- New mean value for this distribution.- Throws:
IncorrectDistributionParameterException- if mean value is invalid for this distribution.
-