Package org.cloudbus.cloudsim.distributions
Provides Pseudo-Random Number Generators (PRNG) following several statistical
distributions used by the simulation API.
Additionally, they can be used by developers implementing their own simulations.
The most basic PRNG is the UniformDistr
that generates uniformly distributed pseudo random numbers.
-
Interface Summary Interface Description ContinuousDistribution Interface to be implemented by a Pseudo-Random Number Generator (PRNG) that follows a defined statistical continuous distribution.DiscreteDistribution Interface to be implemented by a Pseudo-Random Number Generator (PRNG) that follows a defined statistical discrete distribution.StatisticalDistribution Interface to be implemented by a Pseudo-Random Number Generator (PRNG) that follows some statistical distribution, even discrete or continuous. -
Class Summary Class Description ExponentialDistr A Pseudo-Random Number Generator following the Exponential distribution.GammaDistr A Pseudo-Random Number Generator following the Gamma distribution.JDKThreadLocalRandomGenerator ARandomGenerator
that internally uses theThreadLocalRandom
, a very fast Pseudo-Random Number Generator (PRNG) with higher performance thanRandom
, mainly in concurrent environments.LognormalDistr A Pseudo-Random Number Generator following the Log-normal distribution.LomaxDistr A Pseudo-Random Number Generator following the Lomax distribution.NormalDistr A Pseudo-Random Number Generator following the Normal (Gaussian) distribution.ParetoDistr A Pseudo-Random Number Generator following the Pareto distribution.PoissonDistr A Pseudo-Random Number Generator which returns numbers following a Poisson Distribution, modeling the probability of an event to happen a number of times in a given time interval.UniformDistr A Pseudo-Random Number Generator (RNG) following the Uniform continuous distribution.WeibullDistr A Pseudo-Random Number Generator following the Weibull distribution.ZipfDistr A Pseudo-Random Number Generator following the Zipf distribution.