Class ZipfPar
java.lang.Object
random.AbstractParameter
random.discrete.ZipfPar
Parameters of the Zipf distribution.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractParameter
setMean
-
Constructor Details
-
ZipfPar
-
ZipfPar
public ZipfPar(Integer numberOfElements, Double alpha) throws IncorrectDistributionParameterException -
ZipfPar
public ZipfPar(Double alpha, Integer numberOfElements) throws IncorrectDistributionParameterException
-
-
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. -
getNumberOfElements
public int getNumberOfElements() -
getAlpha
public double getAlpha() -
setMax
-
setAlpha
-