Class ExponentialDistr
- java.lang.Object
-
- org.cloudbus.cloudsim.distributions.ContinuousDistributionAbstract
-
- org.cloudbus.cloudsim.distributions.ExponentialDistr
-
- All Implemented Interfaces:
ContinuousDistribution
public class ExponentialDistr extends ContinuousDistributionAbstract
A pseudo random number generator following the Exponential distribution.- Since:
- CloudSim Toolkit 1.0
- Author:
- Marcos Dias de Assuncao
-
-
Field Summary
-
Fields inherited from interface org.cloudbus.cloudsim.distributions.ContinuousDistribution
NULL
-
-
Constructor Summary
Constructors Constructor Description ExponentialDistr(double mean)
Creates a new exponential pseudo random number generator.ExponentialDistr(long seed, double mean)
Creates a new exponential pseudo random number generator.
-
-
-
Constructor Detail
-
ExponentialDistr
public ExponentialDistr(long seed, double mean)
Creates a new exponential pseudo random number generator.- Parameters:
seed
- the seed to be used.mean
- the mean for the distribution.
-
ExponentialDistr
public ExponentialDistr(double mean)
Creates a new exponential pseudo random number generator.- Parameters:
mean
- the mean for the distribution.
-
-