Class Zipf
java.lang.Object
common.distributions.Distribution
common.distributions.discrete.Zipf
- All Implemented Interfaces:
ServiceStrategy, Cloneable
Zipf distribution, used to model popularity skews in the JMT simulation engine.
-
Nested Class Summary
Nested classes/interfaces inherited from class Distribution
Distribution.Parameter, Distribution.ValueChecker -
Field Summary
Fields inherited from class Distribution
all, allWithMean, c, checker, classpath, description, df, discreteDistributions, hasC, hasMean, image, isNestable, mean, name, nestableDistributions, parameterClasspath, parameters, precondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ImageIconsetImage()Sets explicative image of this distribution used, together with description, to help the user to understand meaning of parametersprotected Distribution.Parameter[]Used to set parameters of this distributiontoString()Returns this distribution's short descriptionMethods inherited from class Distribution
checkInfinitesimalGeneratorMatrix, checkProbabilityVector, checkTransitionRateMatrix, checkValue, clone, equals, findAll, findAllDiscrete, findAllWithMean, findNestableDistributions, formatNumber, getC, getClassPath, getDescription, getImage, getMean, getName, getNumberOfParameters, getParameter, getParameter, getParameterClassPath, getPrecondition, hasC, hasMean, isNestable, normalizeProbabilityVector, setC, setMean, setValueChecker, updateCM
-
Constructor Details
-
Zipf
public Zipf()Constructs a new Zipf Distribution
-
-
Method Details
-
setParameters
Description copied from class:DistributionUsed to set parameters of this distribution- Specified by:
setParametersin classDistribution- Returns:
- distribution parameters
-
setImage
Description copied from class:DistributionSets explicative image of this distribution used, together with description, to help the user to understand meaning of parameters- Specified by:
setImagein classDistribution- Returns:
- explicative image
-
toString
Description copied from class:DistributionReturns this distribution's short description- Specified by:
toStringin classDistribution- Returns:
- distribution's short description
-