public class WeibullGenerator extends java.lang.Object implements RandomDataGenerator<java.lang.Object>
param: alpha shape parameter for the Weibull distribution. param: beta scale parameter for the Weibull distribution.
Constructor and Description |
---|
WeibullGenerator(double alpha,
double beta) |
Modifier and Type | Method and Description |
---|---|
double |
alpha() |
double |
beta() |
WeibullGenerator |
copy()
Returns a copy of the RandomDataGenerator with a new instance of the rng object used in the
class when applicable for non-locking concurrent usage.
|
double |
nextValue()
Returns an i.i.d.
|
void |
setSeed(long seed)
Set random seed.
|
public double alpha()
public double beta()
public double nextValue()
RandomDataGenerator
nextValue
in interface RandomDataGenerator<java.lang.Object>
public void setSeed(long seed)
Pseudorandom
setSeed
in interface Pseudorandom
public WeibullGenerator copy()
RandomDataGenerator
copy
in interface RandomDataGenerator<java.lang.Object>